home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1988-05-17 | 77.6 KB | [STAK/WILD] |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Genealogy (Nicholas Spies)
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Mar 30 19:04:21 1988, modified Tue May 17 10:05:15 1988, creator HyperCard, type HyperCard stack, 78656 bytes "Genealogy (Nicholas Spies)" , at 0x133c0 608 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 47 65 6e 65 61 6c | 6f 67 79 20 28 4e 69 63 |..Geneal|ogy (Nic|
|00000010| 68 6f 6c 61 73 20 53 70 | 69 65 73 29 00 00 00 00 |holas Sp|ies)....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 33 40 00 | 00 02 60 9e 77 3d 85 9e |.....3@.|..`.w=..|
|00000060| b5 f9 1b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3f aa 00 00 |........|....?...|
|00000080| 00 00 5e 00 53 54 41 4b | ff ff ff ff 21 d1 e3 a0 |..^.STAK|....!...|
|00000090| 00 00 00 08 00 01 33 40 | 00 00 5e 00 00 00 00 00 |......3@|..^.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 73 00 00 00 0f |........|...s....|
|000000b0| 00 00 0b 69 00 00 16 25 | 00 00 00 00 00 00 00 00 |...i...%|........|
|000000c0| 00 00 0d ee 00 00 00 00 | 00 05 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | ab b6 ab 6c d7 49 b6 25 |"..t"...|...l.I.%|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 53 45 45 20 54 | 57 4f 20 4e 4f 54 45 53 |-- SEE T|WO NOTES|
|00000690| 20 42 45 4c 4f 57 20 49 | 4e 20 43 41 50 53 20 57 | BELOW I|N CAPS W|
|000006a0| 49 54 48 20 52 45 53 50 | 45 43 54 20 54 4f 20 46 |ITH RESP|ECT TO F|
|000006b0| 4f 4e 54 53 0d 0d 6f 6e | 20 6f 70 65 6e 53 74 61 |ONTS..on| openSta|
|000006c0| 63 6b 0d 73 65 74 20 75 | 73 65 72 6c 65 76 65 6c |ck.set u|serlevel|
|000006d0| 20 74 6f 20 35 0d 65 6e | 64 20 6f 70 65 6e 53 74 | to 5.en|d openSt|
|000006e0| 61 63 6b 0d 0d 6f 6e 20 | 6f 70 65 6e 43 61 72 64 |ack..on |openCard|
|000006f0| 0d 67 6c 6f 62 61 6c 20 | 6e 75 6d 62 65 72 43 61 |.global |numberCa|
|00000700| 72 64 73 0d 69 66 20 6e | 75 6d 62 65 72 43 61 72 |rds.if n|umberCar|
|00000710| 64 73 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |ds is tr|ue then.|
|00000720| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00000730| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 6e 74 6f |f this c|ard into|
|00000740| 20 66 69 65 6c 64 20 22 | 63 61 72 64 4e 75 6d 22 | field "|cardNum"|
|00000750| 0d 73 65 74 20 73 63 72 | 6f 6c 6c 20 6f 66 20 66 |.set scr|oll of f|
|00000760| 69 65 6c 64 20 22 73 69 | 62 6c 69 6e 67 73 22 20 |ield "si|blings" |
|00000770| 74 6f 20 30 0d 73 65 74 | 20 73 63 72 6f 6c 6c 20 |to 0.set| scroll |
|00000780| 6f 66 20 66 69 65 6c 64 | 20 22 69 73 73 75 65 31 |of field| "issue1|
|00000790| 22 20 74 6f 20 30 0d 73 | 65 74 20 73 63 72 6f 6c |" to 0.s|et scrol|
|000007a0| 6c 20 6f 66 20 66 69 65 | 6c 64 20 22 69 73 73 75 |l of fie|ld "issu|
|000007b0| 65 32 22 20 74 6f 20 30 | 0d 73 65 74 20 73 63 72 |e2" to 0|.set scr|
|000007c0| 6f 6c 6c 20 6f 66 20 66 | 69 65 6c 64 20 22 69 73 |oll of f|ield "is|
|000007d0| 73 75 65 33 22 20 74 6f | 20 30 0d 73 65 74 20 73 |sue3" to| 0.set s|
|000007e0| 63 72 6f 6c 6c 20 6f 66 | 20 66 69 65 6c 64 20 22 |croll of| field "|
|000007f0| 69 73 73 75 65 34 22 20 | 74 6f 20 30 0d 65 6e 64 |issue4" |to 0.end|
|00000800| 20 69 66 0d 65 6e 64 20 | 6f 70 65 6e 43 61 72 64 | if.end |openCard|
|00000810| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 55 70 20 2d 2d 20 |..on mou|seUp -- |
|00000820| 61 70 70 6c 69 65 73 20 | 74 6f 20 61 6c 6c 20 66 |applies |to all f|
|00000830| 69 65 6c 64 73 20 77 68 | 6f 73 65 20 6e 61 6d 65 |ields wh|ose name|
|00000840| 20 63 6f 6e 74 61 69 6e | 73 20 22 6e 61 6d 65 22 | contain|s "name"|
|00000850| 0d 69 66 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |.if the |name of |
|00000860| 74 68 65 20 74 61 72 67 | 65 74 20 63 6f 6e 74 61 |the targ|et conta|
|00000870| 69 6e 73 20 22 6e 61 6d | 65 22 20 74 68 65 6e 0d |ins "nam|e" then.|
|00000880| 69 66 20 74 68 65 20 74 | 61 72 67 65 74 20 63 6f |if the t|arget co|
|00000890| 6e 74 61 69 6e 73 20 22 | 66 69 65 6c 64 22 20 74 |ntains "|field" t|
|000008a0| 68 65 6e 0d 47 6f 54 6f | 4e 61 6d 65 0d 65 6e 64 |hen.GoTo|Name.end|
|000008b0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d | if.end |if.end m|
|000008c0| 6f 75 73 65 55 70 0d 0d | 66 75 6e 63 74 69 6f 6e |ouseUp..|function|
|000008d0| 20 66 69 72 73 74 4e 61 | 6d 65 20 74 68 65 4e 61 | firstNa|me theNa|
|000008e0| 6d 65 0d 72 65 74 75 72 | 6e 20 77 6f 72 64 20 31 |me.retur|n word 1|
|000008f0| 20 6f 66 20 74 68 65 4e | 61 6d 65 0d 65 6e 64 20 | of theN|ame.end |
|00000900| 66 69 72 73 74 4e 61 6d | 65 0d 0d 66 75 6e 63 74 |firstNam|e..funct|
|00000910| 69 6f 6e 20 6c 61 73 74 | 4e 61 6d 65 20 74 68 65 |ion last|Name the|
|00000920| 4e 61 6d 65 0d 72 65 74 | 75 72 6e 20 6c 61 73 74 |Name.ret|urn last|
|00000930| 20 77 6f 72 64 20 6f 66 | 20 74 68 65 4e 61 6d 65 | word of| theName|
|00000940| 0d 65 6e 64 20 6c 61 73 | 74 4e 61 6d 65 0d 0d 66 |.end las|tName..f|
|00000950| 75 6e 63 74 69 6f 6e 20 | 73 65 63 6f 6e 64 4e 61 |unction |secondNa|
|00000960| 6d 65 20 74 68 65 4e 61 | 6d 65 0d 70 75 74 20 77 |me theNa|me.put w|
|00000970| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 4e 61 6d 65 |ord 2 of| theName|
|00000980| 20 69 6e 74 6f 20 73 65 | 63 6f 6e 64 57 6f 72 64 | into se|condWord|
|00000990| 0d 69 66 20 73 65 63 6f | 6e 64 57 6f 72 64 20 ad |.if seco|ndWord .|
|000009a0| 20 6c 61 73 74 20 77 6f | 72 64 20 6f 66 20 74 68 | last wo|rd of th|
|000009b0| 65 4e 61 6d 65 20 74 68 | 65 6e 0d 72 65 74 75 72 |eName th|en.retur|
|000009c0| 6e 20 73 65 63 6f 6e 64 | 57 6f 72 64 0d 65 6c 73 |n second|Word.els|
|000009d0| 65 0d 72 65 74 75 72 6e | 20 65 6d 70 74 79 0d 65 |e.return| empty.e|
|000009e0| 6e 64 20 69 66 0d 65 6e | 64 20 73 65 63 6f 6e 64 |nd if.en|d second|
|000009f0| 4e 61 6d 65 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |Name..fu|nction t|
|00000a00| 68 69 72 64 4e 61 6d 65 | 20 74 68 65 4e 61 6d 65 |hirdName| theName|
|00000a10| 0d 67 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.get the| number |
|00000a20| 6f 66 20 77 6f 72 64 73 | 20 6f 66 20 74 68 65 4e |of words| of theN|
|00000a30| 61 6d 65 0d 69 66 20 69 | 74 20 b3 20 33 20 74 68 |ame.if i|t . 3 th|
|00000a40| 65 6e 0d 70 75 74 20 77 | 6f 72 64 20 33 20 6f 66 |en.put w|ord 3 of|
|00000a50| 20 74 68 65 4e 61 6d 65 | 20 69 6e 74 6f 20 74 68 | theName| into th|
|00000a60| 69 72 64 57 6f 72 64 0d | 69 66 20 74 68 69 72 64 |irdWord.|if third|
|00000a70| 57 6f 72 64 20 ad 20 6c | 61 73 74 20 77 6f 72 64 |Word . l|ast word|
|00000a80| 20 6f 66 20 74 68 65 4e | 61 6d 65 20 74 68 65 6e | of theN|ame then|
|00000a90| 0d 72 65 74 75 72 6e 20 | 74 68 69 72 64 57 6f 72 |.return |thirdWor|
|00000aa0| 64 0d 65 6c 73 65 0d 72 | 65 74 75 72 6e 20 65 6d |d.else.r|eturn em|
|00000ab0| 70 74 79 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d |pty.end |if.else.|
|00000ac0| 72 65 74 75 72 6e 20 65 | 6d 70 74 79 0d 65 6e 64 |return e|mpty.end|
|00000ad0| 20 69 66 0d 65 6e 64 20 | 74 68 69 72 64 4e 61 6d | if.end |thirdNam|
|00000ae0| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 4e |e..funct|ion getN|
|00000af0| 61 6d 65 20 74 68 65 46 | 69 65 6c 64 0d 70 75 74 |ame theF|ield.put|
|00000b00| 20 6c 69 6e 65 20 31 20 | 6f 66 20 62 6b 67 6e 64 | line 1 |of bkgnd|
|00000b10| 20 66 69 65 6c 64 20 74 | 68 65 46 69 65 6c 64 20 | field t|heField |
|00000b20| 69 6e 74 6f 20 74 68 65 | 4e 61 6d 65 0d 72 65 70 |into the|Name.rep|
|00000b30| 65 61 74 20 77 68 69 6c | 65 20 74 68 65 4e 61 6d |eat whil|e theNam|
|00000b40| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 5b 22 0d 64 |e contai|ns "[".d|
|00000b50| 65 6c 65 74 65 20 6c 61 | 73 74 20 77 6f 72 64 20 |elete la|st word |
|00000b60| 6f 66 20 74 68 65 4e 61 | 6d 65 0d 65 6e 64 20 72 |of theNa|me.end r|
|00000b70| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 74 68 65 |epeat.re|turn the|
|00000b80| 4e 61 6d 65 0d 65 6e 64 | 20 67 65 74 4e 61 6d 65 |Name.end| getName|
|00000b90| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 70 61 72 73 65 |..functi|on parse|
|00000ba0| 46 72 6f 6d 43 6f 6c 6f | 6e 20 74 68 65 4e 61 6d |FromColo|n theNam|
|00000bb0| 65 0d 2d 2d 20 65 78 74 | 72 61 63 74 73 20 6e 61 |e.-- ext|racts na|
|00000bc0| 6d 65 20 66 72 6f 6d 20 | 61 20 6c 69 73 74 20 6f |me from |a list o|
|00000bd0| 66 20 61 6e 63 65 73 74 | 6f 72 73 0d 70 75 74 20 |f ancest|ors.put |
|00000be0| 64 65 6c 65 74 65 43 52 | 28 74 68 65 4e 61 6d 65 |deleteCR|(theName|
|00000bf0| 29 20 69 6e 74 6f 20 74 | 68 65 4e 61 6d 65 0d 69 |) into t|heName.i|
|00000c00| 66 20 74 68 65 4e 61 6d | 65 20 63 6f 6e 74 61 69 |f theNam|e contai|
|00000c10| 6e 73 20 22 3a 22 20 74 | 68 65 6e 0d 70 75 74 20 |ns ":" t|hen.put |
|00000c20| 6f 66 66 73 65 74 28 22 | 3a 22 2c 20 74 68 65 4e |offset("|:", theN|
|00000c30| 61 6d 65 29 20 69 6e 74 | 6f 20 74 68 65 4f 66 66 |ame) int|o theOff|
|00000c40| 73 65 74 0d 61 64 64 20 | 32 20 74 6f 20 74 68 65 |set.add |2 to the|
|00000c50| 4f 66 66 73 65 74 20 2d | 2d 20 6f 66 66 73 65 74 |Offset -|- offset|
|00000c60| 20 74 6f 20 66 69 72 73 | 74 20 63 68 61 72 20 6f | to firs|t char o|
|00000c70| 66 20 6e 61 6d 65 0d 70 | 75 74 20 74 68 65 20 6c |f name.p|ut the l|
|00000c80| 65 6e 67 74 68 20 6f 66 | 20 74 68 65 4e 61 6d 65 |ength of| theName|
|00000c90| 20 69 6e 74 6f 20 74 68 | 65 4c 65 6e 67 74 68 0d | into th|eLength.|
|00000ca0| 70 75 74 20 63 68 61 72 | 20 74 68 65 4f 66 66 73 |put char| theOffs|
|00000cb0| 65 74 20 74 6f 20 74 68 | 65 4c 65 6e 67 74 68 20 |et to th|eLength |
|00000cc0| 6f 66 20 74 68 65 4e 61 | 6d 65 20 69 6e 74 6f 20 |of theNa|me into |
|00000cd0| 74 68 65 4e 61 6d 65 0d | 65 6e 64 20 69 66 0d 72 |theName.|end if.r|
|00000ce0| 65 74 75 72 6e 20 74 68 | 65 4e 61 6d 65 0d 65 6e |eturn th|eName.en|
|00000cf0| 64 20 70 61 72 73 65 46 | 72 6f 6d 43 6f 6c 6f 6e |d parseF|romColon|
|00000d00| 0d 0d 6f 6e 20 47 6f 54 | 6f 4e 61 6d 65 20 2d 2d |..on GoT|oName --|
|00000d10| 20 67 65 74 20 6e 61 6d | 65 20 66 72 6f 6d 20 73 | get nam|e from s|
|00000d20| 74 61 74 69 63 20 66 69 | 65 6c 64 20 61 6e 64 20 |tatic fi|eld and |
|00000d30| 67 6f 20 74 6f 20 63 61 | 72 64 20 6f 66 20 6e 61 |go to ca|rd of na|
|00000d40| 6d 65 20 74 68 65 72 65 | 69 6e 0d 69 66 20 74 68 |me there|in.if th|
|00000d50| 65 20 63 6f 6d 6d 61 6e | 64 4b 65 79 20 69 73 20 |e comman|dKey is |
|00000d60| 75 70 20 74 68 65 6e 0d | 73 65 74 20 6c 6f 63 6b |up then.|set lock|
|00000d70| 53 63 72 65 65 6e 20 74 | 6f 20 74 72 75 65 0d 67 |Screen t|o true.g|
|00000d80| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |et the n|ame of t|
|00000d90| 68 65 20 74 61 72 67 65 | 74 0d 69 66 20 69 74 20 |he targe|t.if it |
|00000da0| 63 6f 6e 74 61 69 6e 73 | 20 22 6e 61 6d 65 22 20 |contains| "name" |
|00000db0| 74 68 65 6e 20 2d 2d 20 | 73 65 65 20 63 6c 69 63 |then -- |see clic|
|00000dc0| 6b 73 20 6f 6e 6c 79 20 | 6f 6e 20 63 65 72 74 61 |ks only |on certa|
|00000dd0| 69 6e 20 66 69 65 6c 64 | 73 0d 70 75 74 20 74 68 |in field|s.put th|
|00000de0| 65 20 49 44 20 6f 66 20 | 74 68 65 20 74 61 72 67 |e ID of |the targ|
|00000df0| 65 74 20 69 6e 74 6f 20 | 74 68 65 49 44 20 2d 2d |et into |theID --|
|00000e00| 20 66 6f 72 20 67 65 74 | 74 69 6e 67 20 66 69 65 | for get|ting fie|
|00000e10| 6c 64 20 63 6f 6e 74 65 | 6e 74 73 0d 70 75 74 20 |ld conte|nts.put |
|00000e20| 62 6b 67 6e 64 20 66 69 | 65 6c 64 20 49 44 20 74 |bkgnd fi|eld ID t|
|00000e30| 68 65 49 44 20 69 6e 74 | 6f 20 74 68 65 4e 61 6d |heID int|o theNam|
|00000e40| 65 0d 69 66 20 74 68 65 | 4e 61 6d 65 20 69 73 20 |e.if the|Name is |
|00000e50| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00000e60| 75 74 20 64 65 6c 65 74 | 65 43 52 28 74 68 65 4e |ut delet|eCR(theN|
|00000e70| 61 6d 65 29 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |ame) int|o field |
|00000e80| 49 44 20 74 68 65 49 44 | 20 2d 2d 20 63 6c 65 61 |ID theID| -- clea|
|00000e90| 6e 20 75 70 0d 67 6f 20 | 74 6f 20 63 61 72 64 20 |n up.go |to card |
|00000ea0| 64 65 6c 65 74 65 43 52 | 28 74 68 65 4e 61 6d 65 |deleteCR|(theName|
|00000eb0| 29 20 2d 2d 20 74 68 65 | 20 6e 61 6d 65 20 69 6e |) -- the| name in|
|00000ec0| 20 6f 6e 65 2d 6c 69 6e | 65 20 66 69 65 6c 64 0d | one-lin|e field.|
|00000ed0| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00000ee0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00000ef0| 62 65 65 70 20 31 0d 70 | 75 74 20 22 4e 61 6d 65 |beep 1.p|ut "Name|
|00000f00| 20 6e 6f 74 20 66 6f 75 | 6e 64 2e 22 0d 65 6e 64 | not fou|nd.".end|
|00000f10| 20 69 66 0d 65 6c 73 65 | 0d 62 65 65 70 20 31 0d | if.else|.beep 1.|
|00000f20| 70 75 74 20 22 4e 6f 20 | 6e 61 6d 65 20 73 65 6c |put "No |name sel|
|00000f30| 65 63 74 65 64 2e 22 0d | 65 6e 64 20 69 66 0d 65 |ected.".|end if.e|
|00000f40| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00000f50| 20 47 6f 54 6f 4e 61 6d | 65 0d 0d 66 75 6e 63 74 | GoToNam|e..funct|
|00000f60| 69 6f 6e 20 43 6c 69 63 | 6b 4c 69 6e 65 0d 2d 2d |ion Clic|kLine.--|
|00000f70| 20 69 66 20 63 6c 69 63 | 6b 20 69 6e 20 66 69 65 | if clic|k in fie|
|00000f80| 6c 64 2c 20 72 65 74 75 | 72 6e 20 6c 69 6e 65 20 |ld, retu|rn line |
|00000f90| 6f 66 20 66 69 65 6c 64 | 2c 20 6f 74 68 65 72 77 |of field|, otherw|
|00000fa0| 69 73 65 20 72 65 74 75 | 72 6e 73 20 65 6d 70 74 |ise retu|rns empt|
|00000fb0| 79 0d 2d 2d 20 63 6f 6d | 70 65 6e 73 74 61 74 65 |y.-- com|penstate|
|00000fc0| 73 20 66 6f 72 20 74 65 | 78 74 48 65 69 67 68 74 |s for te|xtHeight|
|00000fd0| 2c 20 77 69 64 65 4d 61 | 72 67 69 6e 73 20 61 6e |, wideMa|rgins an|
|00000fe0| 64 20 73 63 72 6f 6c 6c | 69 6e 67 20 66 69 65 6c |d scroll|ing fiel|
|00000ff0| 64 73 0d 69 66 20 74 68 | 65 20 74 61 72 67 65 74 |ds.if th|e target|
|00001000| 20 63 6f 6e 74 61 69 6e | 73 20 22 66 69 65 6c 64 | contain|s "field|
|00001010| 22 20 74 68 65 6e 0d 67 | 65 74 20 77 69 64 65 4d |" then.g|et wideM|
|00001020| 61 72 67 69 6e 73 20 6f | 66 20 74 68 65 20 74 61 |argins o|f the ta|
|00001030| 72 67 65 74 0d 69 66 20 | 69 74 20 69 73 20 66 61 |rget.if |it is fa|
|00001040| 6c 73 65 20 74 68 65 6e | 0d 70 75 74 20 30 20 69 |lse then|.put 0 i|
|00001050| 6e 74 6f 20 6d 61 72 67 | 69 6e 0d 65 6c 73 65 0d |nto marg|in.else.|
|00001060| 67 65 74 20 74 68 65 20 | 74 65 78 74 48 65 69 67 |get the |textHeig|
|00001070| 68 74 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |ht of th|e target|
|00001080| 0d 70 75 74 20 69 74 20 | 64 69 76 20 32 20 69 6e |.put it |div 2 in|
|00001090| 74 6f 20 6d 61 72 67 69 | 6e 0d 65 6e 64 20 69 66 |to margi|n.end if|
|000010a0| 0d 67 65 74 20 74 68 65 | 20 73 74 79 6c 65 20 6f |.get the| style o|
|000010b0| 66 20 74 68 65 20 74 61 | 72 67 65 74 0d 69 66 20 |f the ta|rget.if |
|000010c0| 69 74 20 69 73 20 22 73 | 63 72 6f 6c 6c 69 6e 67 |it is "s|crolling|
|000010d0| 22 20 74 68 65 6e 0d 72 | 65 74 75 72 6e 20 28 74 |" then.r|eturn (t|
|000010e0| 72 75 6e 63 28 20 28 20 | 28 73 63 72 6f 6c 6c 20 |runc( ( |(scroll |
|000010f0| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 29 20 c2 |of the t|arget) .|
|00001100| 0d 2b 20 28 69 74 65 6d | 20 74 77 6f 20 6f 66 20 |.+ (item| two of |
|00001110| 74 68 65 20 63 6c 69 63 | 6b 4c 6f 63 29 20 c2 0d |the clic|kLoc) ..|
|00001120| 2d 20 28 69 74 65 6d 20 | 74 77 6f 20 6f 66 20 74 |- (item |two of t|
|00001130| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 65 20 74 |he rect |of the t|
|00001140| 61 72 67 65 74 20 2b 20 | 6d 61 72 67 69 6e 29 20 |arget + |margin) |
|00001150| 29 c2 0d 64 69 76 20 74 | 68 65 20 74 65 78 74 48 |)..div t|he textH|
|00001160| 65 69 67 68 74 20 6f 66 | 20 74 68 65 20 74 61 72 |eight of| the tar|
|00001170| 67 65 74 29 20 2b 20 31 | 29 0d 65 6c 73 65 0d 72 |get) + 1|).else.r|
|00001180| 65 74 75 72 6e 20 28 28 | 69 74 65 6d 20 74 77 6f |eturn ((|item two|
|00001190| 20 6f 66 20 74 68 65 20 | 63 6c 69 63 6b 4c 6f 63 | of the |clickLoc|
|000011a0| 29 c2 0d 2d 20 28 69 74 | 65 6d 20 74 77 6f 20 6f |)..- (it|em two o|
|000011b0| 66 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 74 68 |f the re|ct of th|
|000011c0| 65 20 74 61 72 67 65 74 | 29 20 2d 20 6d 61 72 67 |e target|) - marg|
|000011d0| 69 6e 29 c2 0d 64 69 76 | 20 28 74 68 65 20 74 65 |in)..div| (the te|
|000011e0| 78 74 48 65 69 67 68 74 | 20 6f 66 20 74 68 65 20 |xtHeight| of the |
|000011f0| 74 61 72 67 65 74 29 20 | 2b 20 31 0d 65 6e 64 20 |target) |+ 1.end |
|00001200| 69 66 0d 65 6c 73 65 0d | 72 65 74 75 72 6e 20 65 |if.else.|return e|
|00001210| 6d 70 74 79 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |mpty.end| if.end |
|00001220| 43 6c 69 63 6b 4c 69 6e | 65 0d 0d 6f 6e 20 47 6f |ClickLin|e..on Go|
|00001230| 54 6f 4c 69 6e 65 4e 61 | 6d 65 20 2d 2d 20 67 65 |ToLineNa|me -- ge|
|00001240| 74 20 6e 61 6d 65 20 66 | 72 6f 6d 20 73 63 72 6f |t name f|rom scro|
|00001250| 6c 6c 69 6e 67 20 66 69 | 65 6c 64 20 61 6e 64 20 |lling fi|eld and |
|00001260| 67 6f 20 74 6f 20 63 61 | 72 64 0d 69 66 20 74 68 |go to ca|rd.if th|
|00001270| 65 20 63 6f 6d 6d 61 6e | 64 4b 65 79 20 69 73 20 |e comman|dKey is |
|00001280| 75 70 20 74 68 65 6e 0d | 70 75 74 20 63 6c 69 63 |up then.|put clic|
|00001290| 6b 4c 69 6e 65 28 29 20 | 69 6e 74 6f 20 74 68 65 |kLine() |into the|
|000012a0| 4c 69 6e 65 0d 70 75 74 | 20 74 68 65 20 49 44 20 |Line.put| the ID |
|000012b0| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 69 6e |of the t|arget in|
|000012c0| 74 6f 20 74 68 65 49 44 | 0d 70 75 74 20 6c 69 6e |to theID|.put lin|
|000012d0| 65 20 74 68 65 4c 69 6e | 65 20 6f 66 20 66 69 65 |e theLin|e of fie|
|000012e0| 6c 64 20 49 44 20 74 68 | 65 49 44 20 69 6e 74 6f |ld ID th|eID into|
|000012f0| 20 74 68 65 4e 61 6d 65 | 0d 69 66 20 74 68 65 4e | theName|.if theN|
|00001300| 61 6d 65 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ame is n|ot empty|
|00001310| 20 74 68 65 6e 0d 70 75 | 74 20 70 61 72 73 65 46 | then.pu|t parseF|
|00001320| 72 6f 6d 43 6f 6c 6f 6e | 28 74 68 65 4e 61 6d 65 |romColon|(theName|
|00001330| 29 20 69 6e 74 6f 20 74 | 68 65 4e 61 6d 65 0d 0d |) into t|heName..|
|00001340| 67 6f 20 20 63 61 72 64 | 20 74 68 65 4e 61 6d 65 |go card| theName|
|00001350| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00001360| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00001370| 0d 62 65 65 70 20 31 0d | 70 75 74 20 22 4e 61 6d |.beep 1.|put "Nam|
|00001380| 65 20 6e 6f 74 20 66 6f | 75 6e 64 2e 22 0d 65 6e |e not fo|und.".en|
|00001390| 64 20 69 66 0d 65 6c 73 | 65 0d 62 65 65 70 20 31 |d if.els|e.beep 1|
|000013a0| 0d 70 75 74 20 22 4e 6f | 20 6e 61 6d 65 20 73 65 |.put "No| name se|
|000013b0| 6c 65 63 74 65 64 2e 22 | 0d 65 6e 64 20 69 66 0d |lected."|.end if.|
|000013c0| 65 6c 73 65 0d 2d 2d 20 | 62 65 65 70 20 31 0d 2d |else.-- |beep 1.-|
|000013d0| 2d 20 70 75 74 20 22 53 | 65 6c 65 63 74 20 6e 61 |- put "S|elect na|
|000013e0| 6d 65 20 77 69 74 68 6f | 75 74 20 6d 6f 64 69 66 |me witho|ut modif|
|000013f0| 69 65 72 20 6b 65 79 2e | 22 0d 65 6e 64 20 69 66 |ier key.|".end if|
|00001400| 0d 65 6e 64 20 47 6f 54 | 6f 4c 69 6e 65 4e 61 6d |.end GoT|oLineNam|
|00001410| 65 0d 0d 2d 2d 20 6f 6e | 20 67 65 6e 20 70 65 72 |e..-- on| gen per|
|00001420| 73 6f 6e 2c 20 6e 75 6d | 20 2d 2d 20 70 75 74 20 |son, num| -- put |
|00001430| 73 69 62 6c 69 6e 67 73 | 20 69 6e 20 73 61 6d 65 |siblings| in same|
|00001440| 20 67 65 6e 65 72 61 74 | 69 6f 6e 0d 2d 2d 20 20 | generat|ion.-- |
|00001450| 20 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d | repeat |with i =|
|00001460| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00001470| 20 6f 66 20 63 61 72 64 | 73 0d 2d 2d 20 20 20 20 | of card|s.-- |
|00001480| 20 69 66 20 66 69 65 6c | 64 20 36 20 63 6f 6e 74 | if fiel|d 6 cont|
|00001490| 61 69 6e 73 20 70 65 72 | 73 6f 6e 20 74 68 65 6e |ains per|son then|
|000014a0| 0d 2d 2d 20 20 20 20 20 | 20 20 70 75 74 20 6e 75 |.-- | put nu|
|000014b0| 6d 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 32 32 0d |m into f|ield 22.|
|000014c0| 2d 2d 20 20 20 20 20 65 | 6e 64 20 69 66 0d 2d 2d |-- e|nd if.--|
|000014d0| 20 20 20 65 6e 64 20 72 | 65 70 65 61 74 0d 2d 2d | end r|epeat.--|
|000014e0| 20 65 6e 64 20 67 65 6e | 0d 0d 66 75 6e 63 74 69 | end gen|..functi|
|000014f0| 6f 6e 20 64 75 70 65 52 | 65 70 6f 72 74 20 2d 2d |on dupeR|eport --|
|00001500| 20 67 65 6e 65 72 61 74 | 65 73 20 72 65 70 6f 72 | generat|es repor|
|00001510| 74 20 66 6f 72 20 64 75 | 70 6c 69 63 61 74 65 20 |t for du|plicate |
|00001520| 6e 61 6d 65 73 0d 73 65 | 74 20 6e 75 6d 62 65 72 |names.se|t number|
|00001530| 46 6f 72 6d 61 74 20 74 | 6f 20 22 30 30 2e 22 0d |Format t|o "00.".|
|00001540| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 69 |put line| 1 of fi|
|00001550| 65 6c 64 20 22 73 65 6c | 66 20 6e 61 6d 65 22 20 |eld "sel|f name" |
|00001560| 69 6e 74 6f 20 73 65 6c | 66 0d 67 65 74 20 66 69 |into sel|f.get fi|
|00001570| 65 6c 64 20 22 47 65 6e | 65 72 61 74 69 6f 6e 22 |eld "Gen|eration"|
|00001580| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 65 6d |.if it i|s not em|
|00001590| 70 74 79 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 |pty then|.get the|
|000015a0| 20 76 61 6c 75 65 20 6f | 66 20 66 69 65 6c 64 20 | value o|f field |
|000015b0| 22 47 65 6e 65 72 61 74 | 69 6f 6e 22 0d 70 75 74 |"Generat|ion".put|
|000015c0| 20 69 74 20 69 6e 74 6f | 20 67 65 6e 0d 65 6c 73 | it into| gen.els|
|000015d0| 65 0d 70 75 74 20 22 3f | 3f 22 20 69 6e 74 6f 20 |e.put "?|?" into |
|000015e0| 67 65 6e 0d 65 6e 64 20 | 69 66 0d 0d 67 65 74 20 |gen.end |if..get |
|000015f0| 66 69 65 6c 64 20 22 66 | 61 74 68 65 72 20 6e 61 |field "f|ather na|
|00001600| 6d 65 22 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |me".if i|t is emp|
|00001610| 74 79 20 74 68 65 6e 0d | 70 75 74 20 22 3f 3f 22 |ty then.|put "??"|
|00001620| 20 69 6e 74 6f 20 66 61 | 74 68 65 72 0d 65 6c 73 | into fa|ther.els|
|00001630| 65 0d 70 75 74 20 64 65 | 6c 65 74 65 43 52 28 69 |e.put de|leteCR(i|
|00001640| 74 29 20 69 6e 74 6f 20 | 66 61 74 68 65 72 0d 65 |t) into |father.e|
|00001650| 6e 64 20 69 66 0d 0d 67 | 65 74 20 66 69 65 6c 64 |nd if..g|et field|
|00001660| 20 22 6d 6f 74 68 65 72 | 20 6e 61 6d 65 22 0d 69 | "mother| name".i|
|00001670| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|00001680| 65 6e 0d 70 75 74 20 22 | 3f 3f 22 20 69 6e 74 6f |en.put "|??" into|
|00001690| 20 6d 6f 74 68 65 72 0d | 65 6c 73 65 0d 70 75 74 | mother.|else.put|
|000016a0| 20 20 64 65 6c 65 74 65 | 43 52 28 69 74 29 20 69 | delete|CR(it) i|
|000016b0| 6e 74 6f 20 6d 6f 74 68 | 65 72 0d 65 6e 64 20 69 |nto moth|er.end i|
|000016c0| 66 0d 0d 67 65 74 20 6c | 69 6e 65 20 31 20 6f 66 |f..get l|ine 1 of|
|000016d0| 20 66 69 65 6c 64 20 22 | 69 73 73 75 65 31 22 0d | field "|issue1".|
|000016e0| 69 66 20 69 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if it is| empty t|
|000016f0| 68 65 6e 0d 70 75 74 20 | 22 5f 5f 22 20 69 6e 74 |hen.put |"__" int|
|00001700| 6f 20 63 68 69 6c 64 0d | 65 6c 73 65 0d 70 75 74 |o child.|else.put|
|00001710| 20 64 65 6c 65 74 65 43 | 52 28 77 6f 72 64 20 31 | deleteC|R(word 1|
|00001720| 20 6f 66 20 69 74 29 20 | 69 6e 74 6f 20 63 68 69 | of it) |into chi|
|00001730| 6c 64 0d 65 6e 64 20 69 | 66 0d 0d 67 65 74 20 66 |ld.end i|f..get f|
|00001740| 69 65 6c 64 20 22 53 70 | 6f 75 73 65 31 20 6e 61 |ield "Sp|ouse1 na|
|00001750| 6d 65 22 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |me".if i|t is emp|
|00001760| 74 79 20 74 68 65 6e 0d | 69 66 20 63 68 69 6c 64 |ty then.|if child|
|00001770| 20 63 6f 6e 74 61 69 6e | 73 20 22 5f 5f 22 20 74 | contain|s "__" t|
|00001780| 68 65 6e 0d 70 75 74 20 | 22 5f 5f 22 20 69 6e 74 |hen.put |"__" int|
|00001790| 6f 20 73 70 6f 75 73 65 | 0d 65 6c 73 65 0d 70 75 |o spouse|.else.pu|
|000017a0| 74 20 22 3f 3f 22 20 69 | 6e 74 6f 20 73 70 6f 75 |t "??" i|nto spou|
|000017b0| 73 65 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 70 |se.end i|f.else.p|
|000017c0| 75 74 20 64 65 6c 65 74 | 65 43 52 28 69 74 29 20 |ut delet|eCR(it) |
|000017d0| 69 6e 74 6f 20 73 70 6f | 75 73 65 0d 65 6e 64 20 |into spo|use.end |
|000017e0| 69 66 0d 0d 70 75 74 20 | 73 65 6c 66 20 26 26 20 |if..put |self && |
|000017f0| 22 23 22 20 26 20 67 65 | 6e 20 26 26 20 22 a5 22 |"#" & ge|n && "."|
|00001800| 20 26 26 20 66 61 74 68 | 65 72 20 26 20 22 c8 c7 | && fath|er & "..|
|00001810| 22 20 26 20 6d 6f 74 68 | 65 72 20 26 26 c2 0d 22 |" & moth|er &&.."|
|00001820| a4 22 20 26 26 20 73 70 | 6f 75 73 65 20 26 26 20 |." && sp|ouse && |
|00001830| 22 bd 22 20 26 26 20 63 | 68 69 6c 64 20 69 6e 74 |"." && c|hild int|
|00001840| 6f 20 74 65 6d 70 0d 0d | 2d 2d 20 43 48 41 4e 47 |o temp..|-- CHANG|
|00001850| 45 20 22 39 35 22 20 54 | 4f 20 54 48 45 20 4d 41 |E "95" T|O THE MA|
|00001860| 58 49 4d 55 4d 20 4e 55 | 4d 42 45 52 20 4f 46 20 |XIMUM NU|MBER OF |
|00001870| 43 48 41 52 41 43 54 45 | 52 53 20 54 48 41 54 20 |CHARACTE|RS THAT |
|00001880| 57 49 4c 4c 20 53 54 49 | 4c 4c 0d 2d 2d 20 44 49 |WILL STI|LL.-- DI|
|00001890| 53 50 4c 41 59 20 54 48 | 49 53 20 44 41 54 41 20 |SPLAY TH|IS DATA |
|000018a0| 4f 4e 20 4f 4e 45 20 4c | 49 4e 45 2c 20 41 43 43 |ON ONE L|INE, ACC|
|000018b0| 4f 52 44 49 4e 47 20 54 | 4f 20 41 56 41 49 4c 41 |ORDING T|O AVAILA|
|000018c0| 42 4c 45 20 46 4f 4e 54 | 0d 2d 2d 20 61 20 37 2d |BLE FONT|.-- a 7-|
|000018d0| 70 74 20 66 6f 6e 74 20 | 73 75 63 68 20 61 73 20 |pt font |such as |
|000018e0| 4d 69 73 68 61 77 61 6b | 61 20 6f 72 20 54 69 6e |Mishawak|a or Tin|
|000018f0| 79 20 73 68 6f 75 6c 64 | 20 62 65 20 4f 4b 0d 0d |y should| be OK..|
|00001900| 69 66 20 74 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |if the l|ength of|
|00001910| 20 74 65 6d 70 20 3e 20 | 39 35 20 74 68 65 6e 20 | temp > |95 then |
|00001920| 2d 2d 20 74 72 75 6e 63 | 61 74 65 20 6c 69 6e 65 |-- trunc|ate line|
|00001930| 20 74 6f 20 66 69 74 0d | 72 65 74 75 72 6e 20 63 | to fit.|return c|
|00001940| 68 61 72 20 31 20 74 6f | 20 39 35 20 6f 66 20 74 |har 1 to| 95 of t|
|00001950| 65 6d 70 20 26 20 72 65 | 74 75 72 6e 0d 0d 65 6c |emp & re|turn..el|
|00001960| 73 65 0d 72 65 74 75 72 | 6e 20 74 65 6d 70 20 26 |se.retur|n temp &|
|00001970| 20 72 65 74 75 72 6e 0d | 65 6e 64 20 69 66 0d 65 | return.|end if.e|
|00001980| 6e 64 20 64 75 70 65 52 | 65 70 6f 72 74 0d 0d 6f |nd dupeR|eport..o|
|00001990| 6e 20 44 4e 20 74 68 65 | 4e 61 6d 65 2c 20 65 78 |n DN the|Name, ex|
|000019a0| 61 63 74 0d 2d 2d 20 73 | 74 61 6e 64 73 20 66 6f |act.-- s|tands fo|
|000019b0| 72 20 22 44 75 70 6c 69 | 63 61 74 65 20 4e 61 6d |r "Dupli|cate Nam|
|000019c0| 65 22 0d 2d 2d 20 74 68 | 65 4e 61 6d 65 20 69 73 |e".-- th|eName is|
|000019d0| 20 74 68 65 20 6e 61 6d | 65 20 74 6f 20 73 65 61 | the nam|e to sea|
|000019e0| 72 63 68 20 66 6f 72 0d | 2d 2d 20 65 78 61 63 74 |rch for.|-- exact|
|000019f0| 20 69 73 20 61 20 62 6f | 6f 6c 65 61 6e 20 74 6f | is a bo|olean to|
|00001a00| 20 69 6e 64 69 63 61 74 | 65 20 77 68 65 74 68 65 | indicat|e whethe|
|00001a10| 72 20 74 6f 20 73 65 61 | 72 63 68 20 66 6f 72 20 |r to sea|rch for |
|00001a20| 65 78 61 63 74 20 6e 61 | 6d 65 0d 2d 2d 20 69 66 |exact na|me.-- if|
|00001a30| 20 65 78 61 63 74 3d 74 | 72 75 65 20 6c 69 73 74 | exact=t|rue list|
|00001a40| 20 65 78 61 63 74 20 6d | 61 74 63 68 65 73 20 6f | exact m|atches o|
|00001a50| 66 20 6e 61 6d 65 20 28 | 69 67 6e 6f 72 69 6e 67 |f name (|ignoring|
|00001a60| 20 73 75 66 66 69 78 65 | 73 29 0d 2d 2d 20 69 66 | suffixe|s).-- if|
|00001a70| 20 65 78 61 63 74 3d 66 | 61 6c 73 65 20 6c 69 73 | exact=f|alse lis|
|00001a80| 74 20 61 6c 6c 20 61 70 | 70 65 61 72 65 6e 63 65 |t all ap|pearence|
|00001a90| 73 20 6f 66 20 6e 61 6d | 65 20 69 6e 20 73 74 61 |s of nam|e in sta|
|00001aa0| 63 6b 0d 73 65 74 20 6c | 6f 63 6b 53 63 72 65 65 |ck.set l|ockScree|
|00001ab0| 6e 20 74 6f 20 74 72 75 | 65 0d 70 75 74 20 65 6d |n to tru|e.put em|
|00001ac0| 70 74 79 20 69 6e 74 6f | 20 64 75 70 65 4e 61 6d |pty into| dupeNam|
|00001ad0| 65 73 0d 69 66 20 65 78 | 61 63 74 20 74 68 65 6e |es.if ex|act then|
|00001ae0| 0d 70 75 74 20 74 68 65 | 4e 61 6d 65 20 26 26 20 |.put the|Name && |
|00001af0| 22 d1 66 69 6e 64 69 6e | 67 20 65 78 61 63 74 20 |".findin|g exact |
|00001b00| 6d 61 74 63 68 2e 22 0d | 65 6c 73 65 0d 70 75 74 |match.".|else.put|
|00001b10| 20 74 68 65 4e 61 6d 65 | 20 26 26 20 22 d1 66 69 | theName| && ".fi|
|00001b20| 6e 64 69 6e 67 20 61 6e | 79 20 6d 61 74 63 68 2e |nding an|y match.|
|00001b30| 22 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 66 61 6c |".end if|.put fal|
|00001b40| 73 65 20 69 6e 74 6f 20 | 64 75 70 6c 69 63 61 74 |se into |duplicat|
|00001b50| 65 20 2d 2d 20 61 73 73 | 75 6d 65 20 75 6e 69 71 |e -- ass|ume uniq|
|00001b60| 75 65 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 74 6f |ue.put 0| into to|
|00001b70| 74 61 6c 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |tal.put |the numb|
|00001b80| 65 72 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |er of th|is card |
|00001b90| 69 6e 74 6f 20 63 61 72 | 64 4e 75 6d 31 0d 66 69 |into car|dNum1.fi|
|00001ba0| 6e 64 20 77 6f 72 64 20 | 74 68 65 4e 61 6d 65 20 |nd word |theName |
|00001bb0| 69 6e 20 66 69 65 6c 64 | 20 22 73 65 6c 66 20 6e |in field| "self n|
|00001bc0| 61 6d 65 22 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ame".if |the resu|
|00001bd0| 6c 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |lt is em|pty then|
|00001be0| 20 2d 2d 20 74 68 61 74 | 20 69 73 2c 20 61 20 6e | -- that| is, a n|
|00001bf0| 61 6d 65 20 69 73 20 66 | 6f 75 6e 64 0d 70 75 74 |ame is f|ound.put|
|00001c00| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 | the num|ber of t|
|00001c10| 68 69 73 20 63 61 72 64 | 20 69 6e 74 6f 20 63 61 |his card| into ca|
|00001c20| 72 64 4e 75 6d 20 2d 2d | 20 73 61 76 65 20 74 68 |rdNum --| save th|
|00001c30| 69 73 20 63 61 72 64 20 | 6e 75 6d 62 65 72 0d 61 |is card |number.a|
|00001c40| 64 64 20 31 20 74 6f 20 | 74 6f 74 61 6c 0d 70 75 |dd 1 to |total.pu|
|00001c50| 74 20 64 75 70 65 52 65 | 70 6f 72 74 28 29 20 61 |t dupeRe|port() a|
|00001c60| 66 74 65 72 20 64 75 70 | 65 4e 61 6d 65 73 0d 70 |fter dup|eNames.p|
|00001c70| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 64 75 70 |ut true |into dup|
|00001c80| 6c 69 63 61 74 65 20 2d | 2d 20 69 6e 64 69 63 61 |licate -|- indica|
|00001c90| 74 65 20 64 75 70 6c 69 | 63 61 74 65 0d 67 6f 20 |te dupli|cate.go |
|00001ca0| 6e 65 78 74 20 63 61 72 | 64 20 2d 2d 20 73 74 65 |next car|d -- ste|
|00001cb0| 70 20 73 6f 20 61 73 20 | 6e 6f 74 20 74 6f 20 66 |p so as |not to f|
|00001cc0| 69 6e 64 20 6e 61 6d 65 | 20 69 74 73 65 6c 66 20 |ind name| itself |
|00001cd0| 61 67 61 69 6e 0d 72 65 | 70 65 61 74 0d 66 69 6e |again.re|peat.fin|
|00001ce0| 64 20 77 6f 72 64 20 74 | 68 65 4e 61 6d 65 20 69 |d word t|heName i|
|00001cf0| 6e 20 66 69 65 6c 64 20 | 22 73 65 6c 66 20 6e 61 |n field |"self na|
|00001d00| 6d 65 22 0d 2d 2d 20 69 | 66 20 66 69 6e 64 20 6c |me".-- i|f find l|
|00001d10| 61 6e 64 73 20 6f 6e 20 | 6f 72 69 67 69 6e 61 6c |ands on |original|
|00001d20| 20 63 61 72 64 20 28 66 | 72 6f 6d 20 6e 65 78 74 | card (f|rom next|
|00001d30| 29 20 74 68 65 6e 20 6e | 61 6d 65 20 69 73 20 75 |) then n|ame is u|
|00001d40| 6e 69 71 75 65 0d 69 66 | 20 74 68 65 20 6e 75 6d |nique.if| the num|
|00001d50| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ber of t|his card|
|00001d60| 20 3d 20 63 61 72 64 4e | 75 6d 20 74 68 65 6e 0d | = cardN|um then.|
|00001d70| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00001d80| 69 66 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |if.put t|he numbe|
|00001d90| 72 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |r of thi|s card i|
|00001da0| 6e 74 6f 20 66 6f 75 6e | 64 43 61 72 64 20 2d 2d |nto foun|dCard --|
|00001db0| 20 73 61 76 65 20 63 61 | 72 64 20 66 6f 75 6e 64 | save ca|rd found|
|00001dc0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00001dd0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 2d 2d 20 |s empty |then -- |
|00001de0| 73 6f 6d 65 74 68 69 6e | 67 20 66 6f 75 6e 64 0d |somethin|g found.|
|00001df0| 69 66 20 65 78 61 63 74 | 20 74 68 65 6e 20 2d 2d |if exact| then --|
|00001e00| 20 65 78 61 63 74 20 6d | 61 74 63 68 20 64 65 73 | exact m|atch des|
|00001e10| 69 72 65 64 0d 69 66 20 | 74 68 65 4e 61 6d 65 20 |ired.if |theName |
|00001e20| 3d 20 67 65 74 4e 61 6d | 65 28 22 73 65 6c 66 20 |= getNam|e("self |
|00001e30| 6e 61 6d 65 22 29 20 74 | 68 65 6e 20 2d 2d 20 65 |name") t|hen -- e|
|00001e40| 78 61 63 74 20 6d 61 74 | 63 68 3f 0d 61 64 64 20 |xact mat|ch?.add |
|00001e50| 31 20 74 6f 20 74 6f 74 | 61 6c 0d 70 75 74 20 64 |1 to tot|al.put d|
|00001e60| 75 70 65 52 65 70 6f 72 | 74 28 29 20 61 66 74 65 |upeRepor|t() afte|
|00001e70| 72 20 64 75 70 65 4e 61 | 6d 65 73 0d 70 75 74 20 |r dupeNa|mes.put |
|00001e80| 74 72 75 65 20 69 6e 74 | 6f 20 64 75 70 6c 69 63 |true int|o duplic|
|00001e90| 61 74 65 20 2d 2d 20 69 | 6e 64 69 63 61 74 65 20 |ate -- i|ndicate |
|00001ea0| 64 75 70 6c 69 63 61 74 | 65 0d 67 6f 20 6e 65 78 |duplicat|e.go nex|
|00001eb0| 74 20 63 61 72 64 0d 65 | 6c 73 65 20 2d 2d 20 69 |t card.e|lse -- i|
|00001ec0| 6e 63 6f 6d 70 6c 65 74 | 65 20 6d 61 74 63 68 0d |ncomplet|e match.|
|00001ed0| 67 6f 20 6e 65 78 74 20 | 63 61 72 64 20 2d 2d 20 |go next |card -- |
|00001ee0| 73 74 65 70 20 62 65 79 | 6f 6e 64 20 62 61 64 20 |step bey|ond bad |
|00001ef0| 6d 61 74 63 68 0d 65 6e | 64 20 69 66 0d 65 6c 73 |match.en|d if.els|
|00001f00| 65 20 2d 2d 20 6e 6f 6e | 2d 65 78 61 63 74 20 6d |e -- non|-exact m|
|00001f10| 61 74 63 68 20 64 65 73 | 69 72 65 64 0d 61 64 64 |atch des|ired.add|
|00001f20| 20 31 20 74 6f 20 74 6f | 74 61 6c 0d 70 75 74 20 | 1 to to|tal.put |
|00001f30| 64 75 70 65 52 65 70 6f | 72 74 28 29 20 61 66 74 |dupeRepo|rt() aft|
|00001f40| 65 72 20 64 75 70 65 4e | 61 6d 65 73 0d 70 75 74 |er dupeN|ames.put|
|00001f50| 20 74 72 75 65 20 69 6e | 74 6f 20 64 75 70 6c 69 | true in|to dupli|
|00001f60| 63 61 74 65 20 2d 2d 20 | 69 6e 64 69 63 61 74 65 |cate -- |indicate|
|00001f70| 20 64 75 70 6c 69 63 61 | 74 65 0d 67 6f 20 6e 65 | duplica|te.go ne|
|00001f80| 78 74 20 63 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |xt card.|end if.e|
|00001f90| 6c 73 65 20 2d 2d 20 6e | 6f 20 6d 61 74 63 68 20 |lse -- n|o match |
|00001fa0| 66 6f 75 6e 64 0d 70 75 | 74 20 74 68 65 4e 61 6d |found.pu|t theNam|
|00001fb0| 65 20 26 26 20 22 d1 69 | 73 20 6e 6f 74 20 68 65 |e && ".i|s not he|
|00001fc0| 72 65 21 22 0d 62 65 65 | 70 20 31 0d 65 6e 64 20 |re!".bee|p 1.end |
|00001fd0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 63 6c |if.end r|epeat.cl|
|00001fe0| 69 63 6b 20 61 74 20 31 | 2c 31 20 2d 2d 20 67 65 |ick at 1|,1 -- ge|
|00001ff0| 74 20 72 69 64 20 6f 66 | 20 66 69 6e 64 20 73 65 |t rid of| find se|
|00002000| 6c 65 63 74 69 6f 6e 0d | 67 6f 20 63 61 72 64 20 |lection.|go card |
|00002010| 63 61 72 64 4e 75 6d 31 | 20 2d 2d 20 72 65 74 75 |cardNum1| -- retu|
|00002020| 72 6e 20 74 6f 20 6f 72 | 69 67 69 6e 61 6c 20 63 |rn to or|iginal c|
|00002030| 61 72 64 2c 20 6f 72 20 | 66 69 72 73 74 20 69 6e |ard, or |first in|
|00002040| 65 78 61 63 74 20 6d 61 | 74 63 68 0d 73 65 74 20 |exact ma|tch.set |
|00002050| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 6f 20 66 61 |lockScre|en to fa|
|00002060| 6c 73 65 0d 69 66 20 64 | 75 70 6c 69 63 61 74 65 |lse.if d|uplicate|
|00002070| 20 74 68 65 6e 20 2d 2d | 20 72 65 70 6f 72 74 20 | then --| report |
|00002080| 72 65 73 75 6c 74 0d 70 | 75 74 20 64 75 70 65 4e |result.p|ut dupeN|
|00002090| 61 6d 65 73 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |ames int|o field |
|000020a0| 22 6c 69 73 74 69 6e 67 | 22 0d 73 65 74 20 6c 6f |"listing|".set lo|
|000020b0| 63 6b 54 65 78 74 20 6f | 66 20 66 69 65 6c 64 20 |ckText o|f field |
|000020c0| 22 6c 69 73 74 69 6e 67 | 22 20 74 6f 20 74 72 75 |"listing|" to tru|
|000020d0| 65 0d 73 65 74 20 73 63 | 72 6f 6c 6c 20 6f 66 20 |e.set sc|roll of |
|000020e0| 66 69 65 6c 64 20 22 6c | 69 73 74 69 6e 67 22 20 |field "l|isting" |
|000020f0| 74 6f 20 30 0d 0d 2d 2d | 20 43 48 41 4e 47 45 20 |to 0..--| CHANGE |
|00002100| 46 4f 4e 54 20 44 41 54 | 41 20 54 4f 20 54 41 53 |FONT DAT|A TO TAS|
|00002110| 54 45 3b 0d 2d 2d 20 53 | 4d 41 4c 4c 45 52 20 49 |TE;.-- S|MALLER I|
|00002120| 53 20 42 45 54 54 45 52 | 20 49 4e 20 54 48 41 54 |S BETTER| IN THAT|
|00002130| 20 4d 4f 52 45 20 44 41 | 54 41 20 57 49 4c 4c 20 | MORE DA|TA WILL |
|00002140| 46 49 54 20 4f 4e 20 4f | 4e 45 20 4c 49 4e 45 0d |FIT ON O|NE LINE.|
|00002150| 2d 2d 20 28 62 75 74 20 | 6f 66 20 63 6f 75 72 73 |-- (but |of cours|
|00002160| 65 20 69 74 20 77 69 6c | 6c 20 62 65 20 68 61 72 |e it wil|l be har|
|00002170| 64 65 72 20 74 6f 20 72 | 65 61 64 29 0d 0d 2d 2d |der to r|ead)..--|
|00002180| 20 73 65 74 20 74 65 78 | 74 46 6f 6e 74 20 6f 66 | set tex|tFont of|
|00002190| 20 66 69 65 6c 64 20 22 | 6c 69 73 74 69 6e 67 22 | field "|listing"|
|000021a0| 20 74 6f 20 6d 69 73 68 | 61 77 61 6b 61 0d 2d 2d | to mish|awaka.--|
|000021b0| 20 73 65 74 20 74 65 78 | 74 53 69 7a 65 20 6f 66 | set tex|tSize of|
|000021c0| 20 66 69 65 6c 64 20 22 | 6c 69 73 74 69 6e 67 22 | field "|listing"|
|000021d0| 20 74 6f 20 37 0d 0d 73 | 68 6f 77 20 66 69 65 6c | to 7..s|how fiel|
|000021e0| 64 20 22 6c 69 73 74 69 | 6e 67 22 0d 70 75 74 20 |d "listi|ng".put |
|000021f0| 74 68 65 4e 61 6d 65 20 | 26 26 20 22 d1 61 70 70 |theName |&& ".app|
|00002200| 65 61 72 73 22 20 26 26 | 20 74 6f 74 61 6c 20 26 |ears" &&| total &|
|00002210| 26 20 22 74 69 6d 65 73 | 2e 22 0d 65 6c 73 65 0d |& "times|.".else.|
|00002220| 70 75 74 20 74 68 65 4e | 61 6d 65 20 26 26 20 22 |put theN|ame && "|
|00002230| d1 61 70 70 65 61 72 73 | 20 6f 6e 6c 79 20 6f 6e |.appears| only on|
|00002240| 63 65 2e 22 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |ce.".end| if.else|
|00002250| 0d 70 75 74 20 74 68 65 | 4e 61 6d 65 20 26 26 20 |.put the|Name && |
|00002260| 22 d1 69 73 20 6e 6f 74 | 20 68 65 72 65 21 22 0d |".is not| here!".|
|00002270| 62 65 65 70 20 31 0d 65 | 6e 64 20 69 66 0d 65 6e |beep 1.e|nd if.en|
|00002280| 64 20 44 4e 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 64 |d DN..fu|nction d|
|00002290| 65 6c 65 74 65 43 52 20 | 74 68 65 57 6f 72 64 0d |eleteCR |theWord.|
|000022a0| 69 66 20 74 68 65 57 6f | 72 64 20 69 73 20 6e 6f |if theWo|rd is no|
|000022b0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 69 66 20 |t empty |then.if |
|000022c0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 74 68 65 |last cha|r of the|
|000022d0| 57 6f 72 64 20 69 73 20 | 72 65 74 75 72 6e 20 74 |Word is |return t|
|000022e0| 68 65 6e 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |hen.dele|te last |
|000022f0| 63 68 61 72 20 6f 66 20 | 74 68 65 57 6f 72 64 0d |char of |theWord.|
|00002300| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 72 65 |end if.e|nd if.re|
|00002310| 74 75 72 6e 20 74 68 65 | 57 6f 72 64 0d 65 6e 64 |turn the|Word.end|
|00002320| 20 64 65 6c 65 74 65 43 | 52 0d 0d 2d 2d 20 6f 6e | deleteC|R..-- on|
|00002330| 20 72 65 6d 6f 76 65 43 | 52 53 0d 2d 2d 20 20 72 | removeC|RS.-- r|
|00002340| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00002350| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00002360| 66 20 63 61 72 64 73 0d | 2d 2d 20 20 20 20 67 6f |f cards.|-- go|
|00002370| 20 63 61 72 64 20 69 0d | 2d 2d 20 20 20 20 69 66 | card i.|-- if|
|00002380| 20 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 66 | last c|har of f|
|00002390| 69 65 6c 64 20 22 73 65 | 6c 66 20 6e 61 6d 65 22 |ield "se|lf name"|
|000023a0| 20 69 73 20 72 65 74 75 | 72 6e 20 74 68 65 6e 0d | is retu|rn then.|
|000023b0| 2d 2d 20 20 20 20 20 20 | 64 65 6c 65 74 65 20 20 |-- |delete |
|000023c0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 66 69 65 |last cha|r of fie|
|000023d0| 6c 64 20 22 73 65 6c 66 | 20 6e 61 6d 65 22 0d 2d |ld "self| name".-|
|000023e0| 2d 20 20 20 20 65 6e 64 | 20 69 66 0d 2d 2d 20 20 |- end| if.-- |
|000023f0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 65 6e |end repe|at.-- en|
|00002400| 64 20 72 65 6d 6f 76 65 | 43 52 53 0d 0d 66 75 6e |d remove|CRS..fun|
|00002410| 63 74 69 6f 6e 20 67 65 | 74 4d 6f 74 68 65 72 0d |ction ge|tMother.|
|00002420| 70 75 74 20 66 69 65 6c | 64 20 22 6d 6f 74 68 65 |put fiel|d "mothe|
|00002430| 72 20 6e 61 6d 65 22 20 | 69 6e 74 6f 20 74 68 65 |r name" |into the|
|00002440| 4d 6f 74 68 65 72 0d 69 | 66 20 74 68 65 4d 6f 74 |Mother.i|f theMot|
|00002450| 68 65 72 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |her is n|ot empty|
|00002460| 20 74 68 65 6e 0d 67 6f | 20 63 61 72 64 20 74 68 | then.go| card th|
|00002470| 65 4d 6f 74 68 65 72 0d | 70 75 74 20 66 69 65 6c |eMother.|put fiel|
|00002480| 64 20 22 67 65 6e 65 72 | 61 74 69 6f 6e 22 20 26 |d "gener|ation" &|
|00002490| 26 20 22 2c 22 20 26 20 | 74 68 65 4d 6f 74 68 65 |& "," & |theMothe|
|000024a0| 72 20 69 6e 74 6f 20 72 | 65 74 56 61 6c 0d 65 6e |r into r|etVal.en|
|000024b0| 64 20 69 66 0d 72 65 74 | 75 72 6e 20 72 65 74 56 |d if.ret|urn retV|
|000024c0| 61 6c 0d 65 6e 64 20 67 | 65 74 4d 6f 74 68 65 72 |al.end g|etMother|
|000024d0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 67 65 74 46 61 |..functi|on getFa|
|000024e0| 74 68 65 72 0d 70 75 74 | 20 66 69 65 6c 64 20 22 |ther.put| field "|
|000024f0| 66 61 74 68 65 72 20 6e | 61 6d 65 22 20 69 6e 74 |father n|ame" int|
|00002500| 6f 20 74 68 65 46 61 74 | 68 65 72 0d 69 66 20 74 |o theFat|her.if t|
|00002510| 68 65 46 61 74 68 65 72 | 20 69 73 20 6e 6f 74 20 |heFather| is not |
|00002520| 65 6d 70 74 79 20 74 68 | 65 6e 0d 67 6f 20 63 61 |empty th|en.go ca|
|00002530| 72 64 20 74 68 65 46 61 | 74 68 65 72 0d 70 75 74 |rd theFa|ther.put|
|00002540| 20 66 69 65 6c 64 20 22 | 67 65 6e 65 72 61 74 69 | field "|generati|
|00002550| 6f 6e 22 20 26 26 20 22 | 2c 22 20 26 20 74 68 65 |on" && "|," & the|
|00002560| 46 61 74 68 65 72 20 69 | 6e 74 6f 20 72 65 74 56 |Father i|nto retV|
|00002570| 61 6c 0d 65 6e 64 20 69 | 66 0d 72 65 74 75 72 6e |al.end i|f.return|
|00002580| 20 72 65 74 56 61 6c 0d | 65 6e 64 20 67 65 74 46 | retVal.|end getF|
|00002590| 61 74 68 65 72 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |ather..f|unction |
|000025a0| 67 65 74 41 6e 63 65 73 | 74 6f 72 73 20 74 68 65 |getAnces|tors the|
|000025b0| 4b 65 79 2c 20 74 72 65 | 65 0d 70 75 74 20 74 68 |Key, tre|e.put th|
|000025c0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 73 |e number| of this|
|000025d0| 20 63 61 72 64 20 69 6e | 74 6f 20 74 68 69 73 43 | card in|to thisC|
|000025e0| 61 72 64 0d 73 65 74 20 | 6c 6f 63 6b 53 63 72 65 |ard.set |lockScre|
|000025f0| 65 6e 20 74 6f 20 74 72 | 75 65 0d 70 75 74 20 74 |en to tr|ue.put t|
|00002600| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 74 68 65 |he lengt|h of the|
|00002610| 4b 65 79 20 69 6e 74 6f | 20 74 68 65 4c 65 6e 67 |Key into| theLeng|
|00002620| 74 68 0d 70 75 74 20 66 | 69 65 6c 64 20 22 67 65 |th.put f|ield "ge|
|00002630| 6e 65 72 61 74 69 6f 6e | 22 20 69 6e 74 6f 20 67 |neration|" into g|
|00002640| 65 6e 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |en.put e|mpty int|
|00002650| 6f 20 70 72 65 66 69 78 | 0d 70 75 74 20 67 65 6e |o prefix|.put gen|
|00002660| 20 26 26 20 22 53 3a 22 | 20 26 26 20 66 69 65 6c | && "S:"| && fiel|
|00002670| 64 20 22 73 65 6c 66 20 | 6e 61 6d 65 22 20 20 26 |d "self |name" &|
|00002680| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 74 72 65 | return |into tre|
|00002690| 65 0d 69 66 20 74 68 65 | 4c 65 6e 67 74 68 20 3d |e.if the|Length =|
|000026a0| 20 31 20 74 68 65 6e 20 | 2d 2d 20 61 6c 6c 20 66 | 1 then |-- all f|
|000026b0| 61 74 68 65 72 73 2c 20 | 6f 72 20 61 6c 6c 20 6d |athers, |or all m|
|000026c0| 6f 74 68 65 72 73 0d 69 | 66 20 74 68 65 4b 65 79 |others.i|f theKey|
|000026d0| 20 69 73 20 22 46 22 20 | 74 68 65 6e 0d 72 65 70 | is "F" |then.rep|
|000026e0| 65 61 74 20 77 68 69 6c | 65 20 66 69 65 6c 64 20 |eat whil|e field |
|000026f0| 22 66 61 74 68 65 72 20 | 6e 61 6d 65 22 20 69 73 |"father |name" is|
|00002700| 20 6e 6f 74 20 65 6d 70 | 74 79 0d 70 75 74 20 22 | not emp|ty.put "|
|00002710| 46 22 20 61 66 74 65 72 | 20 70 72 65 66 69 78 0d |F" after| prefix.|
|00002720| 70 75 74 20 67 65 74 46 | 61 74 68 65 72 28 29 20 |put getF|ather() |
|00002730| 69 6e 74 6f 20 66 66 0d | 70 75 74 20 69 74 65 6d |into ff.|put item|
|00002740| 20 31 20 6f 66 20 66 66 | 20 26 26 20 70 72 65 66 | 1 of ff| && pref|
|00002750| 69 78 20 26 20 22 3a 22 | 20 26 26 20 c2 0d 69 74 |ix & ":"| && ..it|
|00002760| 65 6d 20 32 20 6f 66 20 | 66 66 20 26 20 72 65 74 |em 2 of |ff & ret|
|00002770| 75 72 6e 20 62 65 66 6f | 72 65 20 74 72 65 65 0d |urn befo|re tree.|
|00002780| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6c 73 65 0d |end repe|at.else.|
|00002790| 69 66 20 74 68 65 4b 65 | 79 20 69 73 20 22 4d 22 |if theKe|y is "M"|
|000027a0| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 68 69 | then.re|peat whi|
|000027b0| 6c 65 20 66 69 65 6c 64 | 20 22 6d 6f 74 68 65 72 |le field| "mother|
|000027c0| 20 6e 61 6d 65 22 20 69 | 73 20 6e 6f 74 20 65 6d | name" i|s not em|
|000027d0| 70 74 79 0d 70 75 74 20 | 22 4d 22 20 61 66 74 65 |pty.put |"M" afte|
|000027e0| 72 20 70 72 65 66 69 78 | 0d 70 75 74 20 67 65 74 |r prefix|.put get|
|000027f0| 4d 6f 74 68 65 72 28 29 | 20 69 6e 74 6f 20 6d 6d |Mother()| into mm|
|00002800| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6d |.put ite|m 1 of m|
|00002810| 6d 20 26 26 20 70 72 65 | 66 69 78 20 26 20 22 3a |m && pre|fix & ":|
|00002820| 22 20 26 26 c2 0d 69 74 | 65 6d 20 32 20 6f 66 20 |" &&..it|em 2 of |
|00002830| 6d 6d 20 26 20 72 65 74 | 75 72 6e 20 62 65 66 6f |mm & ret|urn befo|
|00002840| 72 65 20 74 72 65 65 0d | 65 6e 64 20 72 65 70 65 |re tree.|end repe|
|00002850| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00002860| 0d 65 6c 73 65 20 2d 2d | 20 66 6f 6c 6c 6f 77 20 |.else --| follow |
|00002870| 6c 65 74 74 65 72 73 20 | 6f 66 20 74 68 65 4b 65 |letters |of theKe|
|00002880| 79 20 66 6f 72 20 46 61 | 74 68 65 72 2c 20 4d 6f |y for Fa|ther, Mo|
|00002890| 74 68 65 72 20 6c 69 6e | 6b 73 0d 72 65 70 65 61 |ther lin|ks.repea|
|000028a0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|000028b0| 74 68 65 4c 65 6e 67 74 | 68 0d 69 66 20 63 68 61 |theLengt|h.if cha|
|000028c0| 72 20 69 20 6f 66 20 74 | 68 65 4b 65 79 20 69 73 |r i of t|heKey is|
|000028d0| 20 22 46 22 20 74 68 65 | 6e 0d 69 66 20 66 69 65 | "F" the|n.if fie|
|000028e0| 6c 64 20 22 66 61 74 68 | 65 72 20 6e 61 6d 65 22 |ld "fath|er name"|
|000028f0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002900| 65 6e 0d 70 75 74 20 22 | 46 22 20 61 66 74 65 72 |en.put "|F" after|
|00002910| 20 70 72 65 66 69 78 0d | 70 75 74 20 67 65 74 46 | prefix.|put getF|
|00002920| 61 74 68 65 72 28 29 20 | 69 6e 74 6f 20 66 66 0d |ather() |into ff.|
|00002930| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 66 66 |put item| 1 of ff|
|00002940| 20 26 26 20 70 72 65 66 | 69 78 20 26 20 22 3a 22 | && pref|ix & ":"|
|00002950| 20 26 26 20 c2 0d 69 74 | 65 6d 20 32 20 6f 66 20 | && ..it|em 2 of |
|00002960| 66 66 20 26 20 72 65 74 | 75 72 6e 20 62 65 66 6f |ff & ret|urn befo|
|00002970| 72 65 20 74 72 65 65 0d | 65 6e 64 20 69 66 0d 65 |re tree.|end if.e|
|00002980| 6c 73 65 0d 69 66 20 63 | 68 61 72 20 69 20 6f 66 |lse.if c|har i of|
|00002990| 20 74 68 65 4b 65 79 20 | 69 73 20 22 4d 22 20 74 | theKey |is "M" t|
|000029a0| 68 65 6e 0d 69 66 20 66 | 69 65 6c 64 20 22 6d 6f |hen.if f|ield "mo|
|000029b0| 74 68 65 72 20 6e 61 6d | 65 22 20 69 73 20 6e 6f |ther nam|e" is no|
|000029c0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 70 75 74 |t empty |then.put|
|000029d0| 20 22 4d 22 20 61 66 74 | 65 72 20 70 72 65 66 69 | "M" aft|er prefi|
|000029e0| 78 0d 70 75 74 20 67 65 | 74 4d 6f 74 68 65 72 28 |x.put ge|tMother(|
|000029f0| 29 20 69 6e 74 6f 20 6d | 6d 0d 70 75 74 20 69 74 |) into m|m.put it|
|00002a00| 65 6d 20 31 20 6f 66 20 | 6d 6d 20 26 26 20 70 72 |em 1 of |mm && pr|
|00002a10| 65 66 69 78 20 26 20 22 | 3a 22 20 26 26 20 c2 0d |efix & "|:" && ..|
|00002a20| 69 74 65 6d 20 32 20 6f | 66 20 6d 6d 20 26 20 72 |item 2 o|f mm & r|
|00002a30| 65 74 75 72 6e 20 62 65 | 66 6f 72 65 20 74 72 65 |eturn be|fore tre|
|00002a40| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00002a50| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00002a60| 74 0d 65 6e 64 20 69 66 | 0d 67 6f 20 63 61 72 64 |t.end if|.go card|
|00002a70| 20 74 68 69 73 43 61 72 | 64 0d 72 65 74 75 72 6e | thisCar|d.return|
|00002a80| 20 74 72 65 65 0d 65 6e | 64 20 67 65 74 41 6e 63 | tree.en|d getAnc|
|00002a90| 65 73 74 6f 72 73 0d 0d | 66 75 6e 63 74 69 6f 6e |estors..|function|
|00002aa0| 20 55 43 20 74 68 65 54 | 65 78 74 0d 69 66 20 74 | UC theT|ext.if t|
|00002ab0| 68 65 54 65 78 74 20 69 | 73 20 6e 6f 74 20 65 6d |heText i|s not em|
|00002ac0| 70 74 79 20 74 68 65 6e | 0d 72 65 70 65 61 74 20 |pty then|.repeat |
|00002ad0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00002ae0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |e number| of char|
|00002af0| 61 63 74 65 72 73 20 6f | 66 20 74 68 65 54 65 78 |acters o|f theTex|
|00002b00| 74 0d 70 75 74 20 43 68 | 61 72 54 6f 4e 75 6d 28 |t.put Ch|arToNum(|
|00002b10| 63 68 61 72 20 69 20 6f | 66 20 74 68 65 54 65 78 |char i o|f theTex|
|00002b20| 74 29 20 69 6e 74 6f 20 | 61 73 63 69 69 0d 69 66 |t) into |ascii.if|
|00002b30| 20 28 28 61 73 63 69 69 | 20 3e 20 39 36 29 20 61 | ((ascii| > 96) a|
|00002b40| 6e 64 20 28 61 73 63 69 | 69 20 3c 20 31 32 33 29 |nd (asci|i < 123)|
|00002b50| 29 20 74 68 65 6e 0d 70 | 75 74 20 4e 75 6d 54 6f |) then.p|ut NumTo|
|00002b60| 43 68 61 72 28 61 73 63 | 69 69 20 2d 20 33 32 29 |Char(asc|ii - 32)|
|00002b70| 20 69 6e 74 6f 20 63 68 | 61 72 20 69 20 6f 66 20 | into ch|ar i of |
|00002b80| 74 68 65 54 65 78 74 0d | 65 6e 64 20 69 66 0d 65 |theText.|end if.e|
|00002b90| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00002ba0| 0d 72 65 74 75 72 6e 20 | 74 68 65 54 65 78 74 0d |.return |theText.|
|00002bb0| 65 6e 64 20 55 43 0d 0d | 0d 6f 6e 20 61 6e 63 65 |end UC..|.on ance|
|00002bc0| 73 74 6f 72 73 20 6c 65 | 74 74 65 72 0d 61 73 6b |stors le|tter.ask|
|00002bd0| 20 22 46 28 61 74 68 65 | 72 29 2f 4d 28 6f 74 68 | "F(athe|r)/M(oth|
|00002be0| 65 72 29 20 6c 69 6e 65 | 61 67 65 20 6b 65 79 3a |er) line|age key:|
|00002bf0| 22 20 77 69 74 68 20 6c | 65 74 74 65 72 0d 69 66 |" with l|etter.if|
|00002c00| 20 69 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 | it is n|ot empty|
|00002c10| 20 74 68 65 6e 0d 70 75 | 74 20 74 68 65 20 6e 75 | then.pu|t the nu|
|00002c20| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00002c30| 64 20 69 6e 74 6f 20 74 | 68 69 73 43 61 72 64 0d |d into t|hisCard.|
|00002c40| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4b |put it i|nto theK|
|00002c50| 65 79 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ey.set c|ursor to|
|00002c60| 20 34 20 2d 2d 20 77 61 | 74 63 68 0d 70 75 74 20 | 4 -- wa|tch.put |
|00002c70| 67 65 74 41 6e 63 65 73 | 74 6f 72 73 28 74 68 65 |getAnces|tors(the|
|00002c80| 4b 65 79 2c 20 74 72 65 | 65 29 20 69 6e 74 6f 20 |Key, tre|e) into |
|00002c90| 74 72 65 65 0d 67 6f 20 | 63 61 72 64 20 74 68 69 |tree.go |card thi|
|00002ca0| 73 43 61 72 64 0d 70 75 | 74 20 22 4c 69 6e 65 61 |sCard.pu|t "Linea|
|00002cb0| 67 65 20 62 79 22 20 26 | 26 20 55 43 28 74 68 65 |ge by" &|& UC(the|
|00002cc0| 4b 65 79 29 20 26 20 22 | 3a 22 20 26 20 72 65 74 |Key) & "|:" & ret|
|00002cd0| 75 72 6e 20 62 65 66 6f | 72 65 20 74 72 65 65 0d |urn befo|re tree.|
|00002ce0| 70 75 74 20 74 72 65 65 | 20 69 6e 74 6f 20 66 69 |put tree| into fi|
|00002cf0| 65 6c 64 20 22 6c 69 73 | 74 69 6e 67 22 0d 73 65 |eld "lis|ting".se|
|00002d00| 74 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 69 65 6c |t scroll| of fiel|
|00002d10| 64 20 22 6c 69 73 74 69 | 6e 67 22 20 74 6f 20 30 |d "listi|ng" to 0|
|00002d20| 0d 73 68 6f 77 20 66 69 | 65 6c 64 20 22 6c 69 73 |.show fi|eld "lis|
|00002d30| 74 69 6e 67 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ting".en|d if.end|
|00002d40| 20 61 6e 63 65 73 74 6f | 72 73 0d 0d 6f 6e 20 70 | ancesto|rs..on p|
|00002d50| 75 73 68 49 74 20 74 68 | 65 49 74 65 6d 0d 2d 2d |ushIt th|eItem.--|
|00002d60| 20 70 75 73 68 20 69 74 | 65 6d 20 6f 6e 20 70 73 | push it|em on ps|
|00002d70| 65 75 64 6f 2d 73 74 61 | 63 6b 20 66 6f 72 20 74 |eudo-sta|ck for t|
|00002d80| 72 61 76 65 72 73 69 6e | 67 20 66 61 6d 69 6c 79 |raversin|g family|
|00002d90| 20 74 72 65 65 0d 67 6c | 6f 62 61 6c 20 73 74 61 | tree.gl|obal sta|
|00002da0| 63 6b 0d 70 75 74 20 74 | 68 65 49 74 65 6d 20 26 |ck.put t|heItem &|
|00002db0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 73 74 | return |after st|
|00002dc0| 61 63 6b 0d 65 6e 64 20 | 70 75 73 68 49 74 0d 0d |ack.end |pushIt..|
|00002dd0| 66 75 6e 63 74 69 6f 6e | 20 70 6f 70 49 74 0d 2d |function| popIt.-|
|00002de0| 2d 20 70 6f 70 20 69 74 | 65 6d 20 66 72 6f 6d 20 |- pop it|em from |
|00002df0| 70 73 65 75 64 6f 2d 73 | 74 61 63 6b 20 66 6f 72 |pseudo-s|tack for|
|00002e00| 20 74 72 61 76 65 72 73 | 69 6e 67 20 66 61 6d 69 | travers|ing fami|
|00002e10| 6c 79 20 74 72 65 65 0d | 67 6c 6f 62 61 6c 20 73 |ly tree.|global s|
|00002e20| 74 61 63 6b 0d 69 66 20 | 73 74 61 63 6b 20 69 73 |tack.if |stack is|
|00002e30| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00002e40| 70 75 74 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |put last| line of|
|00002e50| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 74 68 65 4e | stack i|nto theN|
|00002e60| 61 6d 65 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |ame.dele|te last |
|00002e70| 6c 69 6e 65 20 6f 66 20 | 73 74 61 63 6b 0d 65 6c |line of |stack.el|
|00002e80| 73 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |se.put e|mpty int|
|00002e90| 6f 20 74 68 65 4e 61 6d | 65 0d 70 75 74 20 22 53 |o theNam|e.put "S|
|00002ea0| 74 61 63 6b 20 65 6d 70 | 74 79 21 22 0d 62 65 65 |tack emp|ty!".bee|
|00002eb0| 70 20 31 0d 65 6e 64 20 | 69 66 0d 72 65 74 75 72 |p 1.end |if.retur|
|00002ec0| 6e 20 64 65 6c 65 74 65 | 43 52 28 74 68 65 4e 61 |n delete|CR(theNa|
|00002ed0| 6d 65 29 0d 65 6e 64 20 | 70 6f 70 49 74 0d 0d 66 |me).end |popIt..f|
|00002ee0| 75 6e 63 74 69 6f 6e 20 | 64 65 70 74 68 0d 67 6c |unction |depth.gl|
|00002ef0| 6f 62 61 6c 20 73 74 61 | 63 6b 0d 72 65 74 75 72 |obal sta|ck.retur|
|00002f00| 6e 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |n the nu|mber of |
|00002f10| 6c 69 6e 65 73 20 6f 66 | 20 73 74 61 63 6b 0d 65 |lines of| stack.e|
|00002f20| 6e 64 20 64 65 70 74 68 | 0d 0d 6f 6e 20 73 77 61 |nd depth|..on swa|
|00002f30| 70 49 74 0d 67 6c 6f 62 | 61 6c 20 73 74 61 63 6b |pIt.glob|al stack|
|00002f40| 0d 69 66 20 64 65 70 74 | 68 28 29 20 3e 20 31 20 |.if dept|h() > 1 |
|00002f50| 74 68 65 6e 0d 70 75 74 | 20 6c 61 73 74 20 6c 69 |then.put| last li|
|00002f60| 6e 65 20 6f 66 20 73 74 | 61 63 6b 20 69 6e 74 6f |ne of st|ack into|
|00002f70| 20 74 65 6d 70 0d 64 65 | 6c 65 74 65 20 6c 61 73 | temp.de|lete las|
|00002f80| 74 20 6c 69 6e 65 20 6f | 66 20 73 74 61 63 6b 0d |t line o|f stack.|
|00002f90| 70 75 74 20 74 65 6d 70 | 20 26 20 72 65 74 75 72 |put temp| & retur|
|00002fa0| 6e 20 62 65 66 6f 72 65 | 20 6c 61 73 74 20 6c 69 |n before| last li|
|00002fb0| 6e 65 20 6f 66 20 73 74 | 61 63 6b 0d 65 6e 64 20 |ne of st|ack.end |
|00002fc0| 69 66 0d 65 6e 64 20 73 | 77 61 70 49 74 0d 0d 66 |if.end s|wapIt..f|
|00002fd0| 75 6e 63 74 69 6f 6e 20 | 61 64 64 43 52 20 78 78 |unction |addCR xx|
|00002fe0| 0d 69 66 20 78 78 20 69 | 73 20 6e 6f 74 20 65 6d |.if xx i|s not em|
|00002ff0| 70 74 79 20 74 68 65 6e | 0d 69 66 20 6c 61 73 74 |pty then|.if last|
|00003000| 20 63 68 61 72 20 6f 66 | 20 78 78 20 69 73 20 6e | char of| xx is n|
|00003010| 6f 74 20 72 65 74 75 72 | 6e 20 74 68 65 6e 0d 70 |ot retur|n then.p|
|00003020| 75 74 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 |ut retur|n after |
|00003030| 78 78 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |xx.end i|f.end if|
|00003040| 0d 72 65 74 75 72 6e 20 | 78 78 0d 65 6e 64 20 61 |.return |xx.end a|
|00003050| 64 64 43 52 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 63 |ddCR..fu|nction c|
|00003060| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 20 2d |ollectCh|ildren -|
|00003070| 2d 20 67 65 74 20 63 68 | 69 6c 64 72 65 6e 20 66 |- get ch|ildren f|
|00003080| 72 6f 6d 20 70 61 72 65 | 6e 74 27 73 20 63 61 72 |rom pare|nt's car|
|00003090| 64 0d 70 75 74 20 61 64 | 64 43 52 28 66 69 65 6c |d.put ad|dCR(fiel|
|000030a0| 64 20 22 69 73 73 75 65 | 31 22 29 20 69 6e 74 6f |d "issue|1") into|
|000030b0| 20 63 68 69 6c 64 72 65 | 6e 0d 70 75 74 20 61 64 | childre|n.put ad|
|000030c0| 64 43 52 28 66 69 65 6c | 64 20 22 69 73 73 75 65 |dCR(fiel|d "issue|
|000030d0| 32 22 29 20 61 66 74 65 | 72 20 63 68 69 6c 64 72 |2") afte|r childr|
|000030e0| 65 6e 0d 70 75 74 20 41 | 64 64 43 52 28 66 69 65 |en.put A|ddCR(fie|
|000030f0| 6c 64 20 22 69 73 73 75 | 65 33 22 29 20 61 66 74 |ld "issu|e3") aft|
|00003100| 65 72 20 63 68 69 6c 64 | 72 65 6e 0d 70 75 74 20 |er child|ren.put |
|00003110| 41 64 64 43 52 28 66 69 | 65 6c 64 20 22 69 73 73 |AddCR(fi|eld "iss|
|00003120| 75 65 34 22 29 20 61 66 | 74 65 72 20 63 68 69 6c |ue4") af|ter chil|
|00003130| 64 72 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |dren.rep|eat with|
|00003140| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00003150| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00003160| 20 63 68 69 6c 64 72 65 | 6e 0d 70 75 74 20 66 69 | childre|n.put fi|
|00003170| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00003180| 20 2b 20 31 20 26 20 22 | 3a 22 20 26 20 73 70 61 | + 1 & "|:" & spa|
|00003190| 63 65 20 62 65 66 6f 72 | 65 20 6c 69 6e 65 20 69 |ce befor|e line i|
|000031a0| 20 6f 66 20 63 68 69 6c | 64 72 65 6e 0d 65 6e 64 | of chil|dren.end|
|000031b0| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 63 | repeat.|return c|
|000031c0| 68 69 6c 64 72 65 6e 0d | 65 6e 64 20 63 6f 6c 6c |hildren.|end coll|
|000031d0| 65 63 74 43 68 69 6c 64 | 72 65 6e 0d 0d 2d 2d 2d |ectChild|ren..---|
|000031e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 2d 2d 20 57 |--------|---.-- W|
|000031f0| 4f 52 4b 53 2c 20 42 55 | 54 20 47 49 56 45 53 20 |ORKS, BU|T GIVES |
|00003200| 22 54 4f 4f 20 4d 55 43 | 48 20 52 45 43 55 52 53 |"TOO MUC|H RECURS|
|00003210| 49 4f 4e 22 20 49 46 20 | 4d 4f 52 45 20 54 48 41 |ION" IF |MORE THA|
|00003220| 4e 20 32 20 47 45 4e 45 | 52 41 54 49 4f 4e 53 0d |N 2 GENE|RATIONS.|
|00003230| 2d 2d 66 75 6e 63 74 69 | 6f 6e 20 67 65 74 43 68 |--functi|on getCh|
|00003240| 69 6c 64 72 65 6e 20 74 | 61 72 67 65 74 47 65 6e |ildren t|argetGen|
|00003250| 0d 2d 2d 20 20 70 75 74 | 20 63 6f 6c 6c 65 63 74 |.-- put| collect|
|00003260| 43 68 69 6c 64 72 65 6e | 28 29 20 61 66 74 65 72 |Children|() after|
|00003270| 20 63 68 69 6c 64 72 65 | 6e 0d 2d 2d 20 20 72 65 | childre|n.-- re|
|00003280| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003290| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|000032a0| 20 6c 69 6e 65 73 20 6f | 66 20 63 68 69 6c 64 72 | lines o|f childr|
|000032b0| 65 6e 0d 2d 2d 20 20 20 | 20 67 6f 20 63 61 72 64 |en.-- | go card|
|000032c0| 20 70 61 72 73 65 46 72 | 6f 6d 43 6f 6c 6f 6e 28 | parseFr|omColon(|
|000032d0| 6c 69 6e 65 20 69 20 6f | 66 20 63 68 69 6c 64 72 |line i o|f childr|
|000032e0| 65 6e 29 0d 2d 2d 20 20 | 20 20 70 75 74 20 63 6f |en).-- | put co|
|000032f0| 6c 6c 65 63 74 43 68 69 | 6c 64 72 65 6e 28 29 20 |llectChi|ldren() |
|00003300| 61 66 74 65 72 20 74 65 | 6d 70 0d 2d 2d 20 20 65 |after te|mp.-- e|
|00003310| 6e 64 20 72 65 70 65 61 | 74 0d 2d 2d 20 20 70 75 |nd repea|t.-- pu|
|00003320| 74 20 74 65 6d 70 20 61 | 66 74 65 72 20 63 68 69 |t temp a|fter chi|
|00003330| 6c 64 72 65 6e 0d 2d 2d | 20 20 69 66 20 66 69 65 |ldren.--| if fie|
|00003340| 6c 64 20 22 67 65 6e 65 | 72 61 74 69 6f 6e 22 20 |ld "gene|ration" |
|00003350| 3c 20 74 61 72 67 65 74 | 47 65 6e 20 74 68 65 6e |< target|Gen then|
|00003360| 0d 2d 2d 20 20 20 20 70 | 75 74 20 67 65 74 43 68 |.-- p|ut getCh|
|00003370| 69 6c 64 72 65 6e 28 74 | 61 72 67 65 74 47 65 6e |ildren(t|argetGen|
|00003380| 29 20 69 6e 74 6f 20 63 | 68 69 6c 64 72 65 6e 0d |) into c|hildren.|
|00003390| 2d 2d 20 20 65 6c 73 65 | 0d 2d 2d 20 20 20 20 72 |-- else|.-- r|
|000033a0| 65 74 75 72 6e 20 63 68 | 69 6c 64 72 65 6e 0d 2d |eturn ch|ildren.-|
|000033b0| 2d 20 20 65 6e 64 20 69 | 66 0d 2d 2d 65 6e 64 20 |- end i|f.--end |
|000033c0| 67 65 74 43 68 69 6c 64 | 72 65 6e 0d 0d 6f 6e 20 |getChild|ren..on |
|000033d0| 74 6f 70 53 6f 72 74 0d | 61 6e 73 77 65 72 20 22 |topSort.|answer "|
|000033e0| 53 6f 72 74 20 62 79 3a | 22 20 c2 0d 77 69 74 68 |Sort by:|" ..with|
|000033f0| 20 22 50 65 72 73 6f 6e | 22 20 6f 72 20 22 50 61 | "Person|" or "Pa|
|00003400| 72 65 6e 74 73 22 20 6f | 72 20 22 43 61 6e 63 65 |rents" o|r "Cance|
|00003410| 6c 22 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 70 |l".put i|t into p|
|00003420| 61 72 65 6e 74 73 50 65 | 72 73 6f 6e 0d 69 66 20 |arentsPe|rson.if |
|00003430| 70 61 72 65 6e 74 73 50 | 65 72 73 6f 6e 20 63 6f |parentsP|erson co|
|00003440| 6e 74 61 69 6e 73 20 22 | 50 65 72 73 6f 6e 22 20 |ntains "|Person" |
|00003450| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 53 6f 72 |then.ans|wer "Sor|
|00003460| 74 20 61 6c 6c 20 63 61 | 72 64 73 20 62 79 3a 22 |t all ca|rds by:"|
|00003470| 20 77 69 74 68 20 22 4e | 61 6d 65 73 22 20 6f 72 | with "N|ames" or|
|00003480| 20 22 47 65 6e 65 72 61 | 74 69 6f 6e 22 20 6f 72 | "Genera|tion" or|
|00003490| 20 22 43 61 6e 63 65 6c | 22 0d 69 66 20 69 74 20 | "Cancel|".if it |
|000034a0| 69 73 20 22 4e 61 6d 65 | 73 22 20 74 68 65 6e 0d |is "Name|s" then.|
|000034b0| 53 6f 72 74 42 79 4e 61 | 6d 65 73 20 22 73 65 6c |SortByNa|mes "sel|
|000034c0| 66 20 6e 61 6d 65 22 0d | 65 6c 73 65 0d 69 66 20 |f name".|else.if |
|000034d0| 69 74 20 69 73 20 22 47 | 65 6e 65 72 61 74 69 6f |it is "G|eneratio|
|000034e0| 6e 22 20 74 68 65 6e 0d | 53 6f 72 74 42 79 47 65 |n" then.|SortByGe|
|000034f0| 6e 65 72 61 74 69 6f 6e | 20 22 73 65 6c 66 20 6e |neration| "self n|
|00003500| 61 6d 65 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ame".end| if.end |
|00003510| 69 66 0d 65 6c 73 65 0d | 69 66 20 70 61 72 65 6e |if.else.|if paren|
|00003520| 74 73 50 65 72 73 6f 6e | 20 63 6f 6e 74 61 69 6e |tsPerson| contain|
|00003530| 73 20 22 50 61 72 65 6e | 74 73 22 20 74 68 65 6e |s "Paren|ts" then|
|00003540| 0d 61 6e 73 77 65 72 20 | 22 53 6f 72 74 20 62 79 |.answer |"Sort by|
|00003550| 3a 22 20 77 69 74 68 20 | 22 46 61 74 68 65 72 22 |:" with |"Father"|
|00003560| 20 6f 72 20 22 4d 6f 74 | 68 65 72 22 20 6f 72 20 | or "Mot|her" or |
|00003570| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 69 74 20 63 |"Cancel"|.if it c|
|00003580| 6f 6e 74 61 69 6e 73 20 | 22 46 61 74 68 65 72 22 |ontains |"Father"|
|00003590| 20 74 68 65 6e 0d 70 75 | 74 20 22 66 61 74 68 65 | then.pu|t "fathe|
|000035a0| 72 20 6e 61 6d 65 22 20 | 69 6e 74 6f 20 66 69 65 |r name" |into fie|
|000035b0| 6c 64 4e 61 6d 65 0d 65 | 6c 73 65 0d 69 66 20 69 |ldName.e|lse.if i|
|000035c0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 4d 6f 74 68 |t contai|ns "Moth|
|000035d0| 65 72 22 20 74 68 65 6e | 0d 70 75 74 20 22 6d 6f |er" then|.put "mo|
|000035e0| 74 68 65 72 20 6e 61 6d | 65 22 20 69 6e 74 6f 20 |ther nam|e" into |
|000035f0| 66 69 65 6c 64 4e 61 6d | 65 0d 65 6c 73 65 0d 65 |fieldNam|e.else.e|
|00003600| 78 69 74 20 74 6f 70 53 | 6f 72 74 0d 65 6e 64 20 |xit topS|ort.end |
|00003610| 69 66 0d 65 6e 64 20 69 | 66 0d 61 6e 73 77 65 72 |if.end i|f.answer|
|00003620| 20 22 53 6f 72 74 20 61 | 6c 6c 20 63 61 72 64 73 | "Sort a|ll cards|
|00003630| 20 62 79 3a 22 20 c2 0d | 77 69 74 68 20 22 4e 61 | by:" ..|with "Na|
|00003640| 6d 65 73 22 20 6f 72 20 | 22 47 65 6e 65 72 61 74 |mes" or |"Generat|
|00003650| 69 6f 6e 22 20 6f 72 20 | 22 43 61 6e 63 65 6c 22 |ion" or |"Cancel"|
|00003660| 0d 69 66 20 69 74 20 69 | 73 20 22 4e 61 6d 65 73 |.if it i|s "Names|
|00003670| 22 20 74 68 65 6e 0d 53 | 6f 72 74 42 79 4e 61 6d |" then.S|ortByNam|
|00003680| 65 73 20 66 69 65 6c 64 | 4e 61 6d 65 0d 65 6c 73 |es field|Name.els|
|00003690| 65 0d 69 66 20 69 74 20 | 69 73 20 22 47 65 6e 65 |e.if it |is "Gene|
|000036a0| 72 61 74 69 6f 6e 22 20 | 74 68 65 6e 0d 53 6f 72 |ration" |then.Sor|
|000036b0| 74 42 79 47 65 6e 65 72 | 61 74 69 6f 6e 20 66 69 |tByGener|ation fi|
|000036c0| 65 6c 64 4e 61 6d 65 0d | 65 6e 64 20 69 66 0d 65 |eldName.|end if.e|
|000036d0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|000036e0| 20 69 66 0d 65 6e 64 20 | 74 6f 70 53 6f 72 74 0d | if.end |topSort.|
|000036f0| 0d 6f 6e 20 53 6f 72 74 | 42 79 4e 61 6d 65 73 20 |.on Sort|ByNames |
|00003700| 66 69 65 6c 64 4e 61 6d | 65 0d 61 6e 73 77 65 72 |fieldNam|e.answer|
|00003710| 20 22 53 6f 72 74 20 62 | 79 3a 22 20 c2 0d 77 69 | "Sort b|y:" ..wi|
|00003720| 74 68 20 22 46 69 72 73 | 74 20 4e 61 6d 65 22 20 |th "Firs|t Name" |
|00003730| 6f 72 20 22 4c 61 73 74 | 20 4e 61 6d 65 22 20 6f |or "Last| Name" o|
|00003740| 72 20 22 43 61 6e 63 65 | 6c 22 0d 70 75 74 20 69 |r "Cance|l".put i|
|00003750| 74 20 69 6e 74 6f 20 66 | 69 72 73 74 41 6e 73 77 |t into f|irstAnsw|
|00003760| 65 72 0d 69 66 20 66 69 | 72 73 74 41 6e 73 77 65 |er.if fi|rstAnswe|
|00003770| 72 20 63 6f 6e 74 61 69 | 6e 73 20 22 4e 61 6d 65 |r contai|ns "Name|
|00003780| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 49 |" then.a|nswer "I|
|00003790| 6e 64 69 63 61 74 65 20 | 73 69 6d 70 6c 65 20 6f |ndicate |simple o|
|000037a0| 72 20 63 6f 6d 70 6c 65 | 74 65 20 73 6f 72 74 3a |r comple|te sort:|
|000037b0| 22 c2 0d 77 69 74 68 20 | 22 53 69 6d 70 6c 65 22 |"..with |"Simple"|
|000037c0| 20 6f 72 20 22 43 6f 6d | 70 6c 65 74 65 22 20 6f | or "Com|plete" o|
|000037d0| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|000037e0| 20 69 73 20 22 53 69 6d | 70 6c 65 22 20 74 68 65 | is "Sim|ple" the|
|000037f0| 6e 0d 69 66 20 66 69 72 | 73 74 41 6e 73 77 65 72 |n.if fir|stAnswer|
|00003800| 20 69 73 20 22 46 69 72 | 73 74 20 4e 61 6d 65 22 | is "Fir|st Name"|
|00003810| 20 74 68 65 6e 0d 73 6f | 72 74 20 62 79 20 66 69 | then.so|rt by fi|
|00003820| 72 73 74 4e 61 6d 65 28 | 47 65 74 4e 61 6d 65 28 |rstName(|GetName(|
|00003830| 66 69 65 6c 64 4e 61 6d | 65 29 29 0d 65 6c 73 65 |fieldNam|e)).else|
|00003840| 0d 73 6f 72 74 20 62 79 | 20 6c 61 73 74 4e 61 6d |.sort by| lastNam|
|00003850| 65 28 47 65 74 4e 61 6d | 65 28 66 69 65 6c 64 4e |e(GetNam|e(fieldN|
|00003860| 61 6d 65 29 29 0d 65 6e | 64 20 69 66 0d 65 6c 73 |ame)).en|d if.els|
|00003870| 65 0d 69 66 20 69 74 20 | 69 73 20 22 43 6f 6d 70 |e.if it |is "Comp|
|00003880| 6c 65 74 65 22 20 74 68 | 65 6e 0d 69 66 20 66 69 |lete" th|en.if fi|
|00003890| 72 73 74 41 6e 73 77 65 | 72 20 69 73 20 22 46 69 |rstAnswe|r is "Fi|
|000038a0| 72 73 74 20 4e 61 6d 65 | 22 20 74 68 65 6e 0d 73 |rst Name|" then.s|
|000038b0| 6f 72 74 20 62 79 20 66 | 69 72 73 74 4e 61 6d 65 |ort by f|irstName|
|000038c0| 28 47 65 74 4e 61 6d 65 | 28 66 69 65 6c 64 4e 61 |(GetName|(fieldNa|
|000038d0| 6d 65 29 29 20 26 20 c2 | 0d 73 65 63 6f 6e 64 4e |me)) & .|.secondN|
|000038e0| 61 6d 65 28 47 65 74 4e | 61 6d 65 28 66 69 65 6c |ame(GetN|ame(fiel|
|000038f0| 64 4e 61 6d 65 29 29 20 | 26 20 c2 0d 74 68 69 72 |dName)) |& ..thir|
|00003900| 64 4e 61 6d 65 28 47 65 | 74 4e 61 6d 65 28 66 69 |dName(Ge|tName(fi|
|00003910| 65 6c 64 4e 61 6d 65 29 | 29 20 26 20 c2 0d 6c 61 |eldName)|) & ..la|
|00003920| 73 74 4e 61 6d 65 28 47 | 65 74 4e 61 6d 65 28 66 |stName(G|etName(f|
|00003930| 69 65 6c 64 4e 61 6d 65 | 29 29 20 26 c2 0d 66 69 |ieldName|)) &..fi|
|00003940| 65 6c 64 20 22 47 65 6e | 65 72 61 74 69 6f 6e 22 |eld "Gen|eration"|
|00003950| 0d 65 6c 73 65 0d 73 6f | 72 74 20 62 79 20 6c 61 |.else.so|rt by la|
|00003960| 73 74 4e 61 6d 65 28 47 | 65 74 4e 61 6d 65 28 66 |stName(G|etName(f|
|00003970| 69 65 6c 64 4e 61 6d 65 | 29 29 20 26 20 c2 0d 66 |ieldName|)) & ..f|
|00003980| 69 72 73 74 4e 61 6d 65 | 28 47 65 74 4e 61 6d 65 |irstName|(GetName|
|00003990| 28 66 69 65 6c 64 4e 61 | 6d 65 29 29 20 26 20 c2 |(fieldNa|me)) & .|
|000039a0| 0d 73 65 63 6f 6e 64 4e | 61 6d 65 28 47 65 74 4e |.secondN|ame(GetN|
|000039b0| 61 6d 65 28 66 69 65 6c | 64 4e 61 6d 65 29 29 20 |ame(fiel|dName)) |
|000039c0| 26 20 c2 0d 74 68 69 72 | 64 4e 61 6d 65 28 47 65 |& ..thir|dName(Ge|
|000039d0| 74 4e 61 6d 65 28 66 69 | 65 6c 64 4e 61 6d 65 29 |tName(fi|eldName)|
|000039e0| 29 20 26 c2 0d 66 69 65 | 6c 64 20 22 47 65 6e 65 |) &..fie|ld "Gene|
|000039f0| 72 61 74 69 6f 6e 22 0d | 65 6e 64 20 69 66 0d 65 |ration".|end if.e|
|00003a00| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00003a10| 20 69 66 0d 65 6e 64 20 | 53 6f 72 74 42 79 4e 61 | if.end |SortByNa|
|00003a20| 6d 65 73 0d 0d 6f 6e 20 | 53 6f 72 74 42 79 47 65 |mes..on |SortByGe|
|00003a30| 6e 65 72 61 74 69 6f 6e | 20 66 69 65 6c 64 4e 61 |neration| fieldNa|
|00003a40| 6d 65 0d 61 6e 73 77 65 | 72 20 22 53 6f 72 74 20 |me.answe|r "Sort |
|00003a50| 62 79 3a 22 20 c2 0d 77 | 69 74 68 20 22 46 69 72 |by:" ..w|ith "Fir|
|00003a60| 73 74 20 4e 61 6d 65 22 | 20 6f 72 20 22 4c 61 73 |st Name"| or "Las|
|00003a70| 74 20 4e 61 6d 65 22 20 | 6f 72 20 22 43 61 6e 63 |t Name" |or "Canc|
|00003a80| 65 6c 22 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |el".put |it into |
|00003a90| 66 69 72 73 74 41 6e 73 | 77 65 72 0d 69 66 20 66 |firstAns|wer.if f|
|00003aa0| 69 72 73 74 41 6e 73 77 | 65 72 20 63 6f 6e 74 61 |irstAnsw|er conta|
|00003ab0| 69 6e 73 20 22 4e 61 6d | 65 22 20 74 68 65 6e 0d |ins "Nam|e" then.|
|00003ac0| 61 6e 73 77 65 72 20 22 | 49 6e 64 69 63 61 74 65 |answer "|Indicate|
|00003ad0| 20 73 69 6d 70 6c 65 20 | 6f 72 20 63 6f 6d 70 6c | simple |or compl|
|00003ae0| 65 74 65 20 73 6f 72 74 | 3a 22 c2 0d 77 69 74 68 |ete sort|:"..with|
|00003af0| 20 22 53 69 6d 70 6c 65 | 22 20 6f 72 20 22 43 6f | "Simple|" or "Co|
|00003b00| 6d 70 6c 65 74 65 22 20 | 6f 72 20 22 43 61 6e 63 |mplete" |or "Canc|
|00003b10| 65 6c 22 0d 69 66 20 69 | 74 20 69 73 20 22 53 69 |el".if i|t is "Si|
|00003b20| 6d 70 6c 65 22 20 74 68 | 65 6e 0d 69 66 20 66 69 |mple" th|en.if fi|
|00003b30| 72 73 74 41 6e 73 77 65 | 72 20 69 73 20 22 46 69 |rstAnswe|r is "Fi|
|00003b40| 72 73 74 20 4e 61 6d 65 | 22 20 74 68 65 6e 0d 73 |rst Name|" then.s|
|00003b50| 6f 72 74 20 62 79 20 66 | 69 65 6c 64 20 22 47 65 |ort by f|ield "Ge|
|00003b60| 6e 65 72 61 74 69 6f 6e | 22 20 26 20 c2 0d 66 69 |neration|" & ..fi|
|00003b70| 72 73 74 4e 61 6d 65 28 | 47 65 74 4e 61 6d 65 28 |rstName(|GetName(|
|00003b80| 66 69 65 6c 64 4e 61 6d | 65 29 29 0d 65 6c 73 65 |fieldNam|e)).else|
|00003b90| 0d 73 6f 72 74 20 62 79 | 20 66 69 65 6c 64 20 22 |.sort by| field "|
|00003ba0| 47 65 6e 65 72 61 74 69 | 6f 6e 22 20 26 20 c2 0d |Generati|on" & ..|
|00003bb0| 6c 61 73 74 4e 61 6d 65 | 28 47 65 74 4e 61 6d 65 |lastName|(GetName|
|00003bc0| 28 66 69 65 6c 64 4e 61 | 6d 65 29 29 0d 65 6e 64 |(fieldNa|me)).end|
|00003bd0| 20 69 66 0d 65 6c 73 65 | 0d 69 66 20 69 74 20 69 | if.else|.if it i|
|00003be0| 73 20 22 43 6f 6d 70 6c | 65 74 65 22 20 74 68 65 |s "Compl|ete" the|
|00003bf0| 6e 0d 69 66 20 66 69 72 | 73 74 41 6e 73 77 65 72 |n.if fir|stAnswer|
|00003c00| 20 69 73 20 22 46 69 72 | 73 74 20 4e 61 6d 65 22 | is "Fir|st Name"|
|00003c10| 20 74 68 65 6e 0d 73 6f | 72 74 20 62 79 20 66 69 | then.so|rt by fi|
|00003c20| 65 6c 64 20 22 47 65 6e | 65 72 61 74 69 6f 6e 22 |eld "Gen|eration"|
|00003c30| 20 26 c2 0d 66 69 72 73 | 74 4e 61 6d 65 28 47 65 | &..firs|tName(Ge|
|00003c40| 74 4e 61 6d 65 28 66 69 | 65 6c 64 4e 61 6d 65 29 |tName(fi|eldName)|
|00003c50| 29 20 26 20 c2 0d 73 65 | 63 6f 6e 64 4e 61 6d 65 |) & ..se|condName|
|00003c60| 28 47 65 74 4e 61 6d 65 | 28 66 69 65 6c 64 4e 61 |(GetName|(fieldNa|
|00003c70| 6d 65 29 29 20 26 20 c2 | 0d 74 68 69 72 64 4e 61 |me)) & .|.thirdNa|
|00003c80| 6d 65 28 47 65 74 4e 61 | 6d 65 28 66 69 65 6c 64 |me(GetNa|me(field|
|00003c90| 4e 61 6d 65 29 29 20 26 | 20 c2 0d 6c 61 73 74 4e |Name)) &| ..lastN|
|00003ca0| 61 6d 65 28 47 65 74 4e | 61 6d 65 28 66 69 65 6c |ame(GetN|ame(fiel|
|00003cb0| 64 4e 61 6d 65 29 29 0d | 65 6c 73 65 0d 73 6f 72 |dName)).|else.sor|
|00003cc0| 74 20 62 79 20 66 69 65 | 6c 64 20 22 47 65 6e 65 |t by fie|ld "Gene|
|00003cd0| 72 61 74 69 6f 6e 22 20 | 26 20 c2 0d 6c 61 73 74 |ration" |& ..last|
|00003ce0| 4e 61 6d 65 28 47 65 74 | 4e 61 6d 65 28 66 69 65 |Name(Get|Name(fie|
|00003cf0| 6c 64 4e 61 6d 65 29 29 | 20 26 20 c2 0d 66 69 72 |ldName))| & ..fir|
|00003d00| 73 74 4e 61 6d 65 28 47 | 65 74 4e 61 6d 65 28 66 |stName(G|etName(f|
|00003d10| 69 65 6c 64 4e 61 6d 65 | 29 29 20 26 20 c2 0d 73 |ieldName|)) & ..s|
|00003d20| 65 63 6f 6e 64 4e 61 6d | 65 28 47 65 74 4e 61 6d |econdNam|e(GetNam|
|00003d30| 65 28 66 69 65 6c 64 4e | 61 6d 65 29 29 20 26 20 |e(fieldN|ame)) & |
|00003d40| c2 0d 74 68 69 72 64 4e | 61 6d 65 28 47 65 74 4e |..thirdN|ame(GetN|
|00003d50| 61 6d 65 28 66 69 65 6c | 64 4e 61 6d 65 29 29 0d |ame(fiel|dName)).|
|00003d60| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00003d70| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00003d80| 53 6f 72 74 42 79 47 65 | 6e 65 72 61 74 69 6f 6e |SortByGe|neration|
|00003d90| 0d 0d 00 47 65 74 4e 61 | 6d 65 28 66 69 65 6c 64 |...GetNa|me(field|
|00003da0| 4e 61 6d 65 29 29 20 26 | 20 c2 0d 74 68 69 72 64 |Name)) &| ..third|
|00003db0| 4e 61 6d 65 28 47 65 74 | 4e 61 6d 65 28 66 69 65 |Name(Get|Name(fie|
|00003dc0| 6c 64 4e 61 6d 65 29 29 | 0d 65 6e 64 20 69 66 0d |ldName))|.end if.|
|00003dd0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00003de0| 64 20 69 66 0d 65 6e 64 | 20 53 6f 72 74 42 79 47 |d if.end| SortByG|
|00003df0| 65 6e 65 72 61 74 69 6f | 6e 0d 0d 00 64 4e 61 6d |eneratio|n...dNam|
|00003e00| 65 28 47 65 74 4e 61 6d | 65 28 66 69 65 6c 64 4e |e(GetNam|e(fieldN|
|00003e10| 61 6d 65 29 29 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ame)).en|d if.end|
|00003e20| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00003e30| 66 0d 65 6e 64 20 53 6f | 72 74 42 79 47 65 6e 65 |f.end So|rtByGene|
|00003e40| 72 61 74 69 6f 6e 0d 0d | 0d 0d 00 67 6f 20 63 61 |ration..|...go ca|
|00003e50| 72 64 20 74 68 65 4e 61 | 6d 65 0d 70 75 74 20 63 |rd theNa|me.put c|
|00003e60| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 28 29 |ollectCh|ildren()|
|00003e70| 20 61 66 74 65 72 20 6f | 66 66 73 70 72 69 6e 67 | after o|ffspring|
|00003e80| 0d 65 6c 73 65 0d 6e 65 | 78 74 20 72 65 70 65 61 |.else.ne|xt repea|
|00003e90| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00003ea0| 65 61 74 0d 67 6f 20 63 | 61 72 64 20 74 68 69 73 |eat.go c|ard this|
|00003eb0| 43 61 72 64 0d 70 75 74 | 20 22 4f 66 66 73 70 72 |Card.put| "Offspr|
|00003ec0| 69 6e 67 20 74 6f 20 67 | 72 61 6e 64 63 68 69 6c |ing to g|randchil|
|00003ed0| 64 72 65 6e 3a 22 20 26 | 20 72 65 74 75 72 6e 20 |dren:" &| return |
|00003ee0| 62 65 66 6f 72 65 20 6f | 66 66 73 70 72 69 6e 67 |before o|ffspring|
|00003ef0| 0d 70 75 74 20 6f 66 66 | 73 70 72 69 6e 67 20 69 |.put off|spring i|
|00003f00| 6e 74 6f 20 66 69 65 6c | 64 20 22 61 6e 63 65 73 |nto fiel|d "ances|
|00003f10| 74 6f 72 73 22 0d 73 65 | 74 20 73 63 72 6f 6c 6c |tors".se|t scroll|
|00003f20| 20 6f 66 20 66 69 65 6c | 64 20 22 61 6e 63 65 73 | of fiel|d "ances|
|00003f30| 74 6f 72 73 22 20 74 6f | 20 30 0d 73 68 6f 77 20 |tors" to| 0.show |
|00003f40| 66 69 65 6c 64 20 22 61 | 6e 63 65 73 74 6f 72 73 |field "a|ncestors|
|00003f50| 22 0d 73 65 74 20 6c 6f | 63 6b 4d 65 73 73 61 67 |".set lo|ckMessag|
|00003f60| 65 73 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |es to fa|lse.end |
|00003f70| 47 43 0d 0d 6f 6e 20 64 | 6f 41 72 74 0d 73 65 74 |GC..on d|oArt.set|
|00003f80| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|00003f90| 74 20 74 6f 20 22 30 30 | 30 30 2e 22 0d 72 65 70 |t to "00|00.".rep|
|00003fa0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 37 32 37 |eat with| i = 727|
|00003fb0| 20 74 6f 20 37 39 37 0d | 67 6f 20 63 61 72 64 20 | to 797.|go card |
|00003fc0| 69 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 66 |i.if wor|d 1 of f|
|00003fd0| 69 65 6c 64 20 73 6f 75 | 72 63 65 20 63 6f 6e 74 |ield sou|rce cont|
|00003fe0| 61 69 6e 73 20 22 41 52 | 54 22 20 74 68 65 6e 0d |ains "AR|T" then.|
|00003ff0| 67 65 74 20 77 6f 72 64 | 20 32 20 6f 66 20 66 69 |get word| 2 of fi|
|00004000| 65 6c 64 20 73 6f 75 72 | 63 65 0d 69 66 20 69 74 |eld sour|ce.if it|
|00004010| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004020| 65 6e 0d 70 75 74 20 74 | 68 65 20 76 61 6c 75 65 |en.put t|he value|
|00004030| 20 6f 66 20 69 74 20 69 | 6e 74 6f 20 77 6f 72 64 | of it i|nto word|
|00004040| 20 32 20 6f 66 20 66 69 | 65 6c 64 20 73 6f 75 72 | 2 of fi|eld sour|
|00004050| 63 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |ce.end i|f.end if|
|00004060| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00004070| 64 6f 41 72 74 0d 0d 0d | 00 6d 62 65 72 20 6f 66 |doArt...|.mber of|
|00004080| 20 74 68 69 73 20 63 61 | 72 64 20 69 6e 74 6f 20 | this ca|rd into |
|00004090| 74 68 69 73 43 61 72 64 | 0d 70 75 74 20 63 6f 6c |thisCard|.put col|
|000040a0| 6c 65 63 74 43 68 69 6c | 64 72 65 6e 28 29 20 69 |lectChil|dren() i|
|000040b0| 6e 74 6f 20 6f 66 66 73 | 70 72 69 6e 67 0d 70 75 |nto offs|pring.pu|
|000040c0| 74 20 30 20 69 6e 74 6f | 20 73 74 65 70 0d 72 65 |t 0 into| step.re|
|000040d0| 70 65 61 74 20 75 6e 74 | 69 6c 20 66 69 65 6c 64 |peat unt|il field|
|000040e0| 20 22 67 65 6e 65 72 61 | 74 69 6f 6e 22 20 3d 20 | "genera|tion" = |
|000040f0| 74 61 72 67 65 74 47 65 | 6e 0d 61 64 64 20 31 20 |targetGe|n.add 1 |
|00004100| 74 6f 20 73 74 65 70 0d | 70 75 74 20 70 61 72 73 |to step.|put pars|
|00004110| 65 46 72 6f 6d 43 6f 6c | 6f 6e 28 6c 69 6e 65 20 |eFromCol|on(line |
|00004120| 73 74 65 70 20 6f 66 20 | 6f 66 66 73 70 72 69 6e |step of |offsprin|
|00004130| 67 29 20 69 6e 74 6f 20 | 74 68 65 4e 61 6d 65 0d |g) into |theName.|
|00004140| 69 66 20 74 68 65 4e 61 | 6d 65 20 69 73 20 6e 6f |if theNa|me is no|
|00004150| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 67 6f 20 |t empty |then.go |
|00004160| 63 61 72 64 20 74 68 65 | 4e 61 6d 65 0d 70 75 74 |card the|Name.put|
|00004170| 20 63 6f 6c 6c 65 63 74 | 43 68 69 6c 64 72 65 6e | collect|Children|
|00004180| 28 29 20 61 66 74 65 72 | 20 6f 66 66 73 70 72 69 |() after| offspri|
|00004190| 6e 67 0d 65 6c 73 65 0d | 69 66 20 73 74 65 70 20 |ng.else.|if step |
|000041a0| 3c 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |< the nu|mber of |
|000041b0| 6c 69 6e 65 73 20 6f 66 | 20 6f 66 66 73 70 72 69 |lines of| offspri|
|000041c0| 6e 67 20 74 68 65 6e 0d | 6e 65 78 74 20 72 65 70 |ng then.|next rep|
|000041d0| 65 61 74 0d 65 6c 73 65 | 0d 65 78 69 74 20 72 65 |eat.else|.exit re|
|000041e0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|000041f0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 67 6f |if.end r|epeat.go|
|00004200| 20 63 61 72 64 20 74 68 | 69 73 43 61 72 64 0d 70 | card th|isCard.p|
|00004210| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 70 72 |ut empty| into pr|
|00004220| 65 66 69 78 0d 72 65 70 | 65 61 74 20 77 69 74 68 |efix.rep|eat with|
|00004230| 20 69 20 3d 20 28 74 68 | 65 4e 75 6d 20 2d 20 31 | i = (th|eNum - 1|
|00004240| 29 20 64 6f 77 6e 20 74 | 6f 20 31 0d 70 75 74 20 |) down t|o 1.put |
|00004250| 22 67 2d 22 20 62 65 66 | 6f 72 65 20 70 72 65 66 |"g-" bef|ore pref|
|00004260| 69 78 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 75 |ix.end r|epeat.pu|
|00004270| 74 20 22 4f 66 66 73 70 | 72 69 6e 67 20 74 6f 22 |t "Offsp|ring to"|
|00004280| 20 26 20 73 70 61 63 65 | 20 26 20 70 72 65 66 69 | & space| & prefi|
|00004290| 78 20 26 20 22 63 68 69 | 6c 64 72 65 6e 3a 22 20 |x & "chi|ldren:" |
|000042a0| 69 6e 74 6f 20 74 69 74 | 6c 65 0d 70 75 74 20 74 |into tit|le.put t|
|000042b0| 69 74 6c 65 20 26 20 72 | 65 74 75 72 6e 20 62 65 |itle & r|eturn be|
|000042c0| 66 6f 72 65 20 6f 66 66 | 73 70 72 69 6e 67 0d 70 |fore off|spring.p|
|000042d0| 75 74 20 6f 66 66 73 70 | 72 69 6e 67 20 69 6e 74 |ut offsp|ring int|
|000042e0| 6f 20 66 69 65 6c 64 20 | 22 61 6e 63 65 73 74 6f |o field |"ancesto|
|000042f0| 72 73 22 0d 73 65 74 20 | 73 63 72 6f 6c 6c 20 6f |rs".set |scroll o|
|00004300| 66 20 66 69 65 6c 64 20 | 22 61 6e 63 65 73 74 6f |f field |"ancesto|
|00004310| 72 73 22 20 74 6f 20 30 | 0d 73 68 6f 77 20 66 69 |rs" to 0|.show fi|
|00004320| 65 6c 64 20 22 61 6e 63 | 65 73 74 6f 72 73 22 0d |eld "anc|estors".|
|00004330| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00004340| 20 74 6f 20 66 61 6c 73 | 65 0d 65 6e 64 20 69 66 | to fals|e.end if|
|00004350| 0d 65 6e 64 20 6f 66 66 | 53 70 72 69 6e 67 0d 0d |.end off|Spring..|
|00004360| 6f 6e 20 64 6f 41 72 74 | 0d 73 65 74 20 74 68 65 |on doArt|.set the|
|00004370| 20 6e 75 6d 62 65 72 46 | 6f 72 6d 61 74 20 74 6f | numberF|ormat to|
|00004380| 20 22 30 30 30 30 2e 22 | 0d 72 65 70 65 61 74 20 | "0000."|.repeat |
|00004390| 77 69 74 68 20 69 20 3d | 20 37 32 37 20 74 6f 20 |with i =| 727 to |
|000043a0| 37 39 37 0d 67 6f 20 63 | 61 72 64 20 69 0d 69 66 |797.go c|ard i.if|
|000043b0| 20 77 6f 72 64 20 31 20 | 6f 66 20 66 69 65 6c 64 | word 1 |of field|
|000043c0| 20 73 6f 75 72 63 65 20 | 63 6f 6e 74 61 69 6e 73 | source |contains|
|000043d0| 20 22 41 52 54 22 20 74 | 68 65 6e 0d 67 65 74 20 | "ART" t|hen.get |
|000043e0| 77 6f 72 64 20 32 20 6f | 66 20 66 69 65 6c 64 20 |word 2 o|f field |
|000043f0| 73 6f 75 72 63 65 0d 69 | 66 20 69 74 20 69 73 20 |source.i|f it is |
|00004400| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00004410| 75 74 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |ut the v|alue of |
|00004420| 69 74 20 69 6e 74 6f 20 | 77 6f 72 64 20 32 20 6f |it into |word 2 o|
|00004430| 66 20 66 69 65 6c 64 20 | 73 6f 75 72 63 65 0d 65 |f field |source.e|
|00004440| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00004450| 20 72 65 70 65 61 74 0d | 65 6e 64 20 64 6f 41 72 | repeat.|end doAr|
|00004460| 74 0d 0d 0d 00 65 6e 0d | 70 75 74 20 74 68 65 20 |t....en.|put the |
|00004470| 76 61 6c 75 65 20 6f 66 | 20 69 74 20 69 6e 74 6f |value of| it into|
|00004480| 20 77 6f 72 64 20 32 20 | 6f 66 20 66 69 65 6c 64 | word 2 |of field|
|00004490| 20 73 6f 75 72 63 65 0d | 65 6e 64 20 69 66 0d 65 | source.|end if.e|
|000044a0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|000044b0| 0d 65 6e 64 20 64 6f 41 | 72 74 0d 0d 0d 00 6e 0d |.end doA|rt....n.|
|000044c0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4e |put it i|nto theN|
|000044d0| 75 6d 0d 67 65 74 20 66 | 69 65 6c 64 20 22 47 65 |um.get f|ield "Ge|
|000044e0| 6e 65 72 61 74 69 6f 6e | 22 0d 70 75 74 20 28 74 |neration|".put (t|
|000044f0| 68 65 4e 75 6d 20 2b 20 | 69 74 29 20 69 6e 74 6f |heNum + |it) into|
|00004500| 20 74 61 72 67 65 74 47 | 65 6e 0d 73 65 74 20 6c | targetG|en.set l|
|00004510| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|00004520| 72 75 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rue.set |cursor t|
|00004530| 6f 20 34 20 2d 2d 20 77 | 61 74 63 68 0d 73 65 74 |o 4 -- w|atch.set|
|00004540| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|00004550| 74 20 74 6f 20 22 30 30 | 2e 22 0d 73 65 74 20 6c |t to "00|.".set l|
|00004560| 6f 63 6b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockScree|n to tru|
|00004570| 65 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |e.put th|e number|
|00004580| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 6e | of this| card in|
|00004590| 74 6f 20 74 68 69 73 43 | 61 72 64 0d 70 75 74 20 |to thisC|ard.put |
|000045a0| 63 6f 6c 6c 65 63 74 43 | 68 69 6c 64 72 65 6e 28 |collectC|hildren(|
|000045b0| 29 20 69 6e 74 6f 20 6f | 66 66 73 70 72 69 6e 67 |) into o|ffspring|
|000045c0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 73 74 65 70 |.put 0 i|nto step|
|000045d0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 66 69 |.repeat |until fi|
|000045e0| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|000045f0| 20 3d 20 74 61 72 67 65 | 74 47 65 6e 0d 61 64 64 | = targe|tGen.add|
|00004600| 20 31 20 74 6f 20 73 74 | 65 70 0d 70 75 74 20 70 | 1 to st|ep.put p|
|00004610| 61 72 73 65 46 72 6f 6d | 43 6f 6c 6f 6e 28 6c 69 |arseFrom|Colon(li|
|00004620| 6e 65 20 73 74 65 70 20 | 6f 66 20 6f 66 66 73 70 |ne step |of offsp|
|00004630| 72 69 6e 67 29 20 69 6e | 74 6f 20 74 68 65 4e 61 |ring) in|to theNa|
|00004640| 6d 65 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |me.if th|eName is|
|00004650| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00004660| 67 6f 20 63 61 72 64 20 | 74 68 65 4e 61 6d 65 0d |go card |theName.|
|00004670| 70 75 74 20 63 6f 6c 6c | 65 63 74 43 68 69 6c 64 |put coll|ectChild|
|00004680| 72 65 6e 28 29 20 61 66 | 74 65 72 20 6f 66 66 73 |ren() af|ter offs|
|00004690| 70 72 69 6e 67 0d 65 6c | 73 65 0d 69 66 20 73 74 |pring.el|se.if st|
|000046a0| 65 70 20 3c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ep < the| number |
|000046b0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 6f 66 66 73 |of lines| of offs|
|000046c0| 70 72 69 6e 67 20 74 68 | 65 6e 0d 6e 65 78 74 20 |pring th|en.next |
|000046d0| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 65 78 69 74 |repeat.e|lse.exit|
|000046e0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|000046f0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00004700| 0d 67 6f 20 63 61 72 64 | 20 74 68 69 73 43 61 72 |.go card| thisCar|
|00004710| 64 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |d.put em|pty into|
|00004720| 20 70 72 65 66 69 78 0d | 72 65 70 65 61 74 20 77 | prefix.|repeat w|
|00004730| 69 74 68 20 69 20 3d 20 | 28 74 68 65 4e 75 6d 20 |ith i = |(theNum |
|00004740| 2d 20 31 29 20 64 6f 77 | 6e 20 74 6f 20 31 0d 70 |- 1) dow|n to 1.p|
|00004750| 75 74 20 22 67 2d 22 20 | 62 65 66 6f 72 65 20 70 |ut "g-" |before p|
|00004760| 72 65 66 69 78 0d 65 6e | 64 20 72 65 70 65 61 74 |refix.en|d repeat|
|00004770| 0d 70 75 74 20 22 4f 66 | 66 73 70 72 69 6e 67 20 |.put "Of|fspring |
|00004780| 74 6f 22 20 26 20 73 70 | 61 63 65 20 26 20 70 72 |to" & sp|ace & pr|
|00004790| 65 66 69 78 20 26 20 22 | 63 68 69 6c 64 72 65 6e |efix & "|children|
|000047a0| 3a 22 20 69 6e 74 6f 20 | 74 69 74 6c 65 0d 70 75 |:" into |title.pu|
|000047b0| 74 20 74 69 74 6c 65 20 | 26 20 72 65 74 75 72 6e |t title |& return|
|000047c0| 20 62 65 66 6f 72 65 20 | 6f 66 66 73 70 72 69 6e | before |offsprin|
|000047d0| 67 0d 70 75 74 20 6f 66 | 66 73 70 72 69 6e 67 20 |g.put of|fspring |
|000047e0| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |into fie|ld "ance|
|000047f0| 73 74 6f 72 73 22 0d 73 | 65 74 20 73 63 72 6f 6c |stors".s|et scrol|
|00004800| 6c 20 6f 66 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |l of fie|ld "ance|
|00004810| 73 74 6f 72 73 22 20 74 | 6f 20 30 0d 73 68 6f 77 |stors" t|o 0.show|
|00004820| 20 66 69 65 6c 64 20 22 | 61 6e 63 65 73 74 6f 72 | field "|ancestor|
|00004830| 73 22 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |s".set l|ockMessa|
|00004840| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ges to f|alse.end|
|00004850| 20 69 66 0d 65 6e 64 20 | 6f 66 66 53 70 72 69 6e | if.end |offSprin|
|00004860| 67 0d 0d 6f 6e 20 64 6f | 41 72 74 0d 73 65 74 20 |g..on do|Art.set |
|00004870| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
|00004880| 20 74 6f 20 22 30 30 30 | 30 2e 22 0d 72 65 70 65 | to "000|0.".repe|
|00004890| 61 74 20 77 69 74 68 20 | 69 20 3d 20 37 32 37 20 |at with |i = 727 |
|000048a0| 74 6f 20 37 39 37 0d 67 | 6f 20 63 61 72 64 20 69 |to 797.g|o card i|
|000048b0| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 66 69 |.if word| 1 of fi|
|000048c0| 65 6c 64 20 73 6f 75 72 | 63 65 20 63 6f 6e 74 61 |eld sour|ce conta|
|000048d0| 69 6e 73 20 22 41 52 54 | 22 20 74 68 65 6e 0d 67 |ins "ART|" then.g|
|000048e0| 65 74 20 77 6f 72 64 20 | 32 20 6f 66 20 66 69 65 |et word |2 of fie|
|000048f0| 6c 64 20 73 6f 75 72 63 | 65 0d 69 66 20 69 74 20 |ld sourc|e.if it |
|00004900| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004910| 6e 0d 70 75 74 20 74 68 | 65 20 76 61 6c 75 65 20 |n.put th|e value |
|00004920| 6f 66 20 69 74 20 69 6e | 74 6f 20 77 6f 72 64 20 |of it in|to word |
|00004930| 32 20 6f 66 20 66 69 65 | 6c 64 20 73 6f 75 72 63 |2 of fie|ld sourc|
|00004940| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00004950| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 64 |end repe|at.end d|
|00004960| 6f 41 72 74 0d 0d 0d 00 | 65 73 74 6f 72 73 22 0d |oArt....|estors".|
|00004970| 73 65 74 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 69 |set scro|ll of fi|
|00004980| 65 6c 64 20 22 61 6e 63 | 65 73 74 6f 72 73 22 20 |eld "anc|estors" |
|00004990| 74 6f 20 30 0d 73 68 6f | 77 20 66 69 65 6c 64 20 |to 0.sho|w field |
|000049a0| 22 61 6e 63 65 73 74 6f | 72 73 22 0d 73 65 74 20 |"ancesto|rs".set |
|000049b0| 6c 6f 63 6b 4d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockMess|ages to |
|000049c0| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |false.en|d if.end|
|000049d0| 20 6f 66 66 53 70 72 69 | 6e 67 0d 0d 6f 6e 20 64 | offSpri|ng..on d|
|000049e0| 6f 41 72 74 0d 73 65 74 | 20 74 68 65 20 6e 75 6d |oArt.set| the num|
|000049f0| 62 65 72 46 6f 72 6d 61 | 74 20 74 6f 20 22 30 30 |berForma|t to "00|
|00004a00| 30 30 2e 22 0d 72 65 70 | 65 61 74 20 77 69 74 68 |00.".rep|eat with|
|00004a10| 20 69 20 3d 20 37 32 37 | 20 74 6f 20 37 39 37 0d | i = 727| to 797.|
|00004a20| 67 6f 20 63 61 72 64 20 | 69 0d 69 66 20 77 6f 72 |go card |i.if wor|
|00004a30| 64 20 31 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 1 of f|ield sou|
|00004a40| 72 63 65 20 63 6f 6e 74 | 61 69 6e 73 20 22 41 52 |rce cont|ains "AR|
|00004a50| 54 22 20 74 68 65 6e 0d | 67 65 74 20 77 6f 72 64 |T" then.|get word|
|00004a60| 20 32 20 6f 66 20 66 69 | 65 6c 64 20 73 6f 75 72 | 2 of fi|eld sour|
|00004a70| 63 65 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |ce.if it| is not |
|00004a80| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|00004a90| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 69 74 20 69 |he value| of it i|
|00004aa0| 6e 74 6f 20 77 6f 72 64 | 20 32 20 6f 66 20 66 69 |nto word| 2 of fi|
|00004ab0| 65 6c 64 20 73 6f 75 72 | 63 65 0d 65 6e 64 20 69 |eld sour|ce.end i|
|00004ac0| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |f.end if|.end rep|
|00004ad0| 65 61 74 0d 65 6e 64 20 | 64 6f 41 72 74 0d 0d 0d |eat.end |doArt...|
|00004ae0| 00 73 65 74 20 73 63 72 | 6f 6c 6c 20 6f 66 20 66 |.set scr|oll of f|
|00004af0| 69 65 6c 64 20 22 61 6e | 63 65 73 74 6f 72 73 22 |ield "an|cestors"|
|00004b00| 20 74 6f 20 30 0d 73 68 | 6f 77 20 66 69 65 6c 64 | to 0.sh|ow field|
|00004b10| 20 22 61 6e 63 65 73 74 | 6f 72 73 22 0d 73 65 74 | "ancest|ors".set|
|00004b20| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00004b30| 20 66 61 6c 73 65 0d 65 | 6e 64 20 69 66 0d 65 6e | false.e|nd if.en|
|00004b40| 64 20 6f 66 66 53 70 72 | 69 6e 67 0d 0d 6f 6e 20 |d offSpr|ing..on |
|00004b50| 64 6f 41 72 74 0d 73 65 | 74 20 74 68 65 20 6e 75 |doArt.se|t the nu|
|00004b60| 6d 62 65 72 46 6f 72 6d | 61 74 20 74 6f 20 22 30 |mberForm|at to "0|
|00004b70| 30 30 30 2e 22 0d 72 65 | 70 65 61 74 20 77 69 74 |000.".re|peat wit|
|00004b80| 68 20 69 20 3d 20 37 32 | 37 20 74 6f 20 37 39 37 |h i = 72|7 to 797|
|00004b90| 0d 67 6f 20 63 61 72 64 | 20 69 0d 69 66 20 77 6f |.go card| i.if wo|
|00004ba0| 72 64 20 31 20 6f 66 20 | 66 69 65 6c 64 20 73 6f |rd 1 of |field so|
|00004bb0| 75 72 63 65 20 63 6f 6e | 74 61 69 6e 73 20 22 41 |urce con|tains "A|
|00004bc0| 52 54 22 20 74 68 65 6e | 0d 67 65 74 20 77 6f 72 |RT" then|.get wor|
|00004bd0| 64 20 32 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 2 of f|ield sou|
|00004be0| 72 63 65 0d 69 66 20 69 | 74 20 69 73 20 6e 6f 74 |rce.if i|t is not|
|00004bf0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00004c00| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 69 74 20 |the valu|e of it |
|00004c10| 69 6e 74 6f 20 77 6f 72 | 64 20 32 20 6f 66 20 66 |into wor|d 2 of f|
|00004c20| 69 65 6c 64 20 73 6f 75 | 72 63 65 0d 65 6e 64 20 |ield sou|rce.end |
|00004c30| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |if.end i|f.end re|
|00004c40| 70 65 61 74 0d 65 6e 64 | 20 64 6f 41 72 74 0d 0d |peat.end| doArt..|
|00004c50| 0d 00 66 20 63 68 69 6c | 64 72 65 6e 0d 65 6e 64 |..f chil|dren.end|
|00004c60| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 63 | repeat.|return c|
|00004c70| 68 69 6c 64 72 65 6e 0d | 65 6e 64 20 63 6f 6c 6c |hildren.|end coll|
|00004c80| 65 63 74 43 68 69 6c 64 | 72 65 6e 0d 0d 2d 2d 20 |ectChild|ren..-- |
|00004c90| 57 4f 52 4b 53 2c 20 42 | 55 54 20 47 49 56 45 53 |WORKS, B|UT GIVES|
|00004ca0| 20 22 54 4f 4f 20 4d 55 | 43 48 20 52 45 43 55 52 | "TOO MU|CH RECUR|
|00004cb0| 53 49 4f 4e 22 20 49 46 | 20 4d 4f 52 45 20 54 48 |SION" IF| MORE TH|
|00004cc0| 41 4e 20 32 20 47 45 4e | 45 52 41 54 49 4f 4e 53 |AN 2 GEN|ERATIONS|
|00004cd0| 0d 2d 2d 66 75 6e 63 74 | 69 6f 6e 20 67 65 74 43 |.--funct|ion getC|
|00004ce0| 68 69 6c 64 72 65 6e 20 | 74 61 72 67 65 74 47 65 |hildren |targetGe|
|00004cf0| 6e 0d 2d 2d 20 20 70 75 | 74 20 63 6f 6c 6c 65 63 |n.-- pu|t collec|
|00004d00| 74 43 68 69 6c 64 72 65 | 6e 28 29 20 61 66 74 65 |tChildre|n() afte|
|00004d10| 72 20 63 68 69 6c 64 72 | 65 6e 0d 2d 2d 20 20 72 |r childr|en.-- r|
|00004d20| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00004d30| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00004d40| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 69 6c 64 |f lines |of child|
|00004d50| 72 65 6e 0d 2d 2d 20 20 | 20 20 67 6f 20 63 61 72 |ren.-- | go car|
|00004d60| 64 20 70 61 72 73 65 46 | 72 6f 6d 43 6f 6c 6f 6e |d parseF|romColon|
|00004d70| 28 6c 69 6e 65 20 69 20 | 6f 66 20 63 68 69 6c 64 |(line i |of child|
|00004d80| 72 65 6e 29 0d 2d 2d 20 | 20 20 20 70 75 74 20 63 |ren).-- | put c|
|00004d90| 6f 6c 6c 65 63 74 43 68 | 69 6c 64 72 65 6e 28 29 |ollectCh|ildren()|
|00004da0| 20 61 66 74 65 72 20 74 | 65 6d 70 0d 2d 2d 20 20 | after t|emp.-- |
|00004db0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 20 70 |end repe|at.-- p|
|00004dc0| 75 74 20 74 65 6d 70 20 | 61 66 74 65 72 20 63 68 |ut temp |after ch|
|00004dd0| 69 6c 64 72 65 6e 0d 2d | 2d 20 20 69 66 20 66 69 |ildren.-|- if fi|
|00004de0| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00004df0| 20 3c 20 74 61 72 67 65 | 74 47 65 6e 20 74 68 65 | < targe|tGen the|
|00004e00| 6e 0d 2d 2d 20 20 20 20 | 70 75 74 20 67 65 74 43 |n.-- |put getC|
|00004e10| 68 69 6c 64 72 65 6e 28 | 74 61 72 67 65 74 47 65 |hildren(|targetGe|
|00004e20| 6e 29 20 69 6e 74 6f 20 | 63 68 69 6c 64 72 65 6e |n) into |children|
|00004e30| 0d 2d 2d 20 20 65 6c 73 | 65 0d 2d 2d 20 20 20 20 |.-- els|e.-- |
|00004e40| 72 65 74 75 72 6e 20 63 | 68 69 6c 64 72 65 6e 0d |return c|hildren.|
|00004e50| 2d 2d 20 20 65 6e 64 20 | 69 66 0d 2d 2d 65 6e 64 |-- end |if.--end|
|00004e60| 20 67 65 74 43 68 69 6c | 64 72 65 6e 0d 0d 0d 6f | getChil|dren...o|
|00004e70| 6e 20 47 43 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |n GC.set| lockMes|
|00004e80| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 73 65 |sages to| true.se|
|00004e90| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 34 20 2d 2d |t cursor| to 4 --|
|00004ea0| 20 77 61 74 63 68 0d 73 | 65 74 20 74 68 65 20 6e | watch.s|et the n|
|00004eb0| 75 6d 62 65 72 46 6f 72 | 6d 61 74 20 74 6f 20 22 |umberFor|mat to "|
|00004ec0| 30 30 2e 22 0d 73 65 74 | 20 6c 6f 63 6b 53 63 72 |00.".set| lockScr|
|00004ed0| 65 65 6e 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |een to t|rue.put |
|00004ee0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00004ef0| 69 73 20 63 61 72 64 20 | 69 6e 74 6f 20 74 68 69 |is card |into thi|
|00004f00| 73 43 61 72 64 0d 70 75 | 74 20 63 6f 6c 6c 65 63 |sCard.pu|t collec|
|00004f10| 74 43 68 69 6c 64 72 65 | 6e 28 29 20 69 6e 74 6f |tChildre|n() into|
|00004f20| 20 6f 66 66 73 70 72 69 | 6e 67 0d 72 65 70 65 61 | offspri|ng.repea|
|00004f30| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004f40| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00004f50| 6e 65 73 20 6f 66 20 6f | 66 66 73 70 72 69 6e 67 |nes of o|ffspring|
|00004f60| 0d 70 75 74 20 70 61 72 | 73 65 46 72 6f 6d 43 6f |.put par|seFromCo|
|00004f70| 6c 6f 6e 28 6c 69 6e 65 | 20 69 20 6f 66 20 6f 66 |lon(line| i of of|
|00004f80| 66 73 70 72 69 6e 67 29 | 20 69 6e 74 6f 20 74 68 |fspring)| into th|
|00004f90| 65 4e 61 6d 65 0d 69 66 | 20 74 68 65 4e 61 6d 65 |eName.if| theName|
|00004fa0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004fb0| 65 6e 0d 67 6f 20 63 61 | 72 64 20 74 68 65 4e 61 |en.go ca|rd theNa|
|00004fc0| 6d 65 0d 70 75 74 20 63 | 6f 6c 6c 65 63 74 43 68 |me.put c|ollectCh|
|00004fd0| 69 6c 64 72 65 6e 28 29 | 20 61 66 74 65 72 20 6f |ildren()| after o|
|00004fe0| 66 66 73 70 72 69 6e 67 | 0d 65 6c 73 65 0d 6e 65 |ffspring|.else.ne|
|00004ff0| 78 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |xt repea|t.end if|
|00005000| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6f 20 63 |.end rep|eat.go c|
|00005010| 61 72 64 20 74 68 69 73 | 43 61 72 64 0d 70 75 74 |ard this|Card.put|
|00005020| 20 22 4f 66 66 73 70 72 | 69 6e 67 20 74 6f 20 67 | "Offspr|ing to g|
|00005030| 72 61 6e 64 63 68 69 6c | 64 72 65 6e 3a 22 20 26 |randchil|dren:" &|
|00005040| 20 72 65 74 75 72 6e 20 | 62 65 66 6f 72 65 20 6f | return |before o|
|00005050| 66 66 73 70 72 69 6e 67 | 0d 70 75 74 20 6f 66 66 |ffspring|.put off|
|00005060| 73 70 72 69 6e 67 20 69 | 6e 74 6f 20 66 69 65 6c |spring i|nto fiel|
|00005070| 64 20 22 61 6e 63 65 73 | 74 6f 72 73 22 0d 73 65 |d "ances|tors".se|
|00005080| 74 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 69 65 6c |t scroll| of fiel|
|00005090| 64 20 22 61 6e 63 65 73 | 74 6f 72 73 22 20 74 6f |d "ances|tors" to|
|000050a0| 20 30 0d 73 68 6f 77 20 | 66 69 65 6c 64 20 22 61 | 0.show |field "a|
|000050b0| 6e 63 65 73 74 6f 72 73 | 22 0d 73 65 74 20 6c 6f |ncestors|".set lo|
|000050c0| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 66 61 |ckMessag|es to fa|
|000050d0| 6c 73 65 0d 65 6e 64 20 | 47 43 0d 0d 6f 6e 20 6f |lse.end |GC..on o|
|000050e0| 66 66 53 70 72 69 6e 67 | 0d 61 73 6b 20 22 4e 75 |ffSpring|.ask "Nu|
|000050f0| 6d 62 65 72 20 6f 66 20 | 67 65 6e 65 72 61 74 69 |mber of |generati|
|00005100| 6f 6e 73 3f 22 20 77 69 | 74 68 20 32 0d 69 66 20 |ons?" wi|th 2.if |
|00005110| 69 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |it is no|t empty |
|00005120| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00005130| 20 74 68 65 4e 75 6d 0d | 67 65 74 20 66 69 65 6c | theNum.|get fiel|
|00005140| 64 20 22 47 65 6e 65 72 | 61 74 69 6f 6e 22 0d 70 |d "Gener|ation".p|
|00005150| 75 74 20 28 74 68 65 4e | 75 6d 20 2b 20 69 74 29 |ut (theN|um + it)|
|00005160| 20 69 6e 74 6f 20 74 61 | 72 67 65 74 47 65 6e 0d | into ta|rgetGen.|
|00005170| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00005180| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 63 75 72 | to true|.set cur|
|00005190| 73 6f 72 20 74 6f 20 34 | 20 2d 2d 20 77 61 74 63 |sor to 4| -- watc|
|000051a0| 68 0d 73 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |h.set th|e number|
|000051b0| 46 6f 72 6d 61 74 20 74 | 6f 20 22 30 30 2e 22 0d |Format t|o "00.".|
|000051c0| 73 65 74 20 6c 6f 63 6b | 53 63 72 65 65 6e 20 74 |set lock|Screen t|
|000051d0| 6f 20 74 72 75 65 0d 70 | 75 74 20 74 68 65 20 6e |o true.p|ut the n|
|000051e0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|000051f0| 72 64 20 69 6e 74 6f 20 | 74 68 69 73 43 61 72 64 |rd into |thisCard|
|00005200| 0d 70 75 74 20 63 6f 6c | 6c 65 63 74 43 68 69 6c |.put col|lectChil|
|00005210| 64 72 65 6e 28 29 20 69 | 6e 74 6f 20 6f 66 66 73 |dren() i|nto offs|
|00005220| 70 72 69 6e 67 0d 70 75 | 74 20 30 20 69 6e 74 6f |pring.pu|t 0 into|
|00005230| 20 73 74 65 70 0d 72 65 | 70 65 61 74 20 75 6e 74 | step.re|peat unt|
|00005240| 69 6c 20 66 69 65 6c 64 | 20 22 67 65 6e 65 72 61 |il field| "genera|
|00005250| 74 69 6f 6e 22 20 3d 20 | 74 61 72 67 65 74 47 65 |tion" = |targetGe|
|00005260| 6e 0d 61 64 64 20 31 20 | 74 6f 20 73 74 65 70 0d |n.add 1 |to step.|
|00005270| 70 75 74 20 70 61 72 73 | 65 46 72 6f 6d 43 6f 6c |put pars|eFromCol|
|00005280| 6f 6e 28 6c 69 6e 65 20 | 73 74 65 70 20 6f 66 20 |on(line |step of |
|00005290| 6f 66 66 73 70 72 69 6e | 67 29 20 69 6e 74 6f 20 |offsprin|g) into |
|000052a0| 74 68 65 4e 61 6d 65 0d | 69 66 20 74 68 65 4e 61 |theName.|if theNa|
|000052b0| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|000052c0| 74 68 65 6e 0d 67 6f 20 | 63 61 72 64 20 74 68 65 |then.go |card the|
|000052d0| 4e 61 6d 65 0d 70 75 74 | 20 63 6f 6c 6c 65 63 74 |Name.put| collect|
|000052e0| 43 68 69 6c 64 72 65 6e | 28 29 20 61 66 74 65 72 |Children|() after|
|000052f0| 20 6f 66 66 73 70 72 69 | 6e 67 0d 65 6c 73 65 0d | offspri|ng.else.|
|00005300| 69 66 20 73 74 65 70 20 | 3c 20 74 68 65 20 6e 75 |if step |< the nu|
|00005310| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|00005320| 20 6f 66 66 73 70 72 69 | 6e 67 20 74 68 65 6e 0d | offspri|ng then.|
|00005330| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |next rep|eat.else|
|00005340| 0d 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 |.exit re|peat.end|
|00005350| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 | if.end |if.end r|
|00005360| 65 70 65 61 74 0d 67 6f | 20 63 61 72 64 20 74 68 |epeat.go| card th|
|00005370| 69 73 43 61 72 64 0d 70 | 75 74 20 65 6d 70 74 79 |isCard.p|ut empty|
|00005380| 20 69 6e 74 6f 20 70 72 | 65 66 69 78 0d 72 65 70 | into pr|efix.rep|
|00005390| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 28 74 68 |eat with| i = (th|
|000053a0| 65 4e 75 6d 20 2d 20 31 | 29 20 64 6f 77 6e 20 74 |eNum - 1|) down t|
|000053b0| 6f 20 31 0d 70 75 74 20 | 22 67 2d 22 20 62 65 66 |o 1.put |"g-" bef|
|000053c0| 6f 72 65 20 70 72 65 66 | 69 78 0d 65 6e 64 20 72 |ore pref|ix.end r|
|000053d0| 65 70 65 61 74 0d 70 75 | 74 20 22 4f 66 66 73 70 |epeat.pu|t "Offsp|
|000053e0| 72 69 6e 67 20 74 6f 22 | 20 26 20 73 70 61 63 65 |ring to"| & space|
|000053f0| 20 26 20 70 72 65 66 69 | 78 20 26 20 22 63 68 69 | & prefi|x & "chi|
|00005400| 6c 64 72 65 6e 3a 22 20 | 69 6e 74 6f 20 74 69 74 |ldren:" |into tit|
|00005410| 6c 65 0d 70 75 74 20 74 | 69 74 6c 65 20 26 20 72 |le.put t|itle & r|
|00005420| 65 74 75 72 6e 20 62 65 | 66 6f 72 65 20 6f 66 66 |eturn be|fore off|
|00005430| 73 70 72 69 6e 67 0d 70 | 75 74 20 6f 66 66 73 70 |spring.p|ut offsp|
|00005440| 72 69 6e 67 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |ring int|o field |
|00005450| 22 61 6e 63 65 73 74 6f | 72 73 22 0d 73 65 74 20 |"ancesto|rs".set |
|00005460| 73 63 72 6f 6c 6c 20 6f | 66 20 66 69 65 6c 64 20 |scroll o|f field |
|00005470| 22 61 6e 63 65 73 74 6f | 72 73 22 20 74 6f 20 30 |"ancesto|rs" to 0|
|00005480| 0d 73 68 6f 77 20 66 69 | 65 6c 64 20 22 61 6e 63 |.show fi|eld "anc|
|00005490| 65 73 74 6f 72 73 22 0d | 73 65 74 20 6c 6f 63 6b |estors".|set lock|
|000054a0| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 66 61 6c 73 |Messages| to fals|
|000054b0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6f 66 66 |e.end if|.end off|
|000054c0| 53 70 72 69 6e 67 0d 0d | 6f 6e 20 64 6f 41 72 74 |Spring..|on doArt|
|000054d0| 0d 73 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 46 |.set the| numberF|
|000054e0| 6f 72 6d 61 74 20 74 6f | 20 22 30 30 30 30 2e 22 |ormat to| "0000."|
|000054f0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00005500| 20 37 32 37 20 74 6f 20 | 37 39 37 0d 67 6f 20 63 | 727 to |797.go c|
|00005510| 61 72 64 20 69 0d 69 66 | 20 77 6f 72 64 20 31 20 |ard i.if| word 1 |
|00005520| 6f 66 20 66 69 65 6c 64 | 20 73 6f 75 72 63 65 20 |of field| source |
|00005530| 63 6f 6e 74 61 69 6e 73 | 20 22 41 52 54 22 20 74 |contains| "ART" t|
|00005540| 68 65 6e 0d 67 65 74 20 | 77 6f 72 64 20 32 20 6f |hen.get |word 2 o|
|00005550| 66 20 66 69 65 6c 64 20 | 73 6f 75 72 63 65 0d 69 |f field |source.i|
|00005560| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00005570| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 76 |y then.p|ut the v|
|00005580| 61 6c 75 65 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |alue of |it into |
|00005590| 77 6f 72 64 20 32 20 6f | 66 20 66 69 65 6c 64 20 |word 2 o|f field |
|000055a0| 73 6f 75 72 63 65 0d 65 | 6e 64 20 69 66 0d 65 6e |source.e|nd if.en|
|000055b0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|000055c0| 65 6e 64 20 64 6f 41 72 | 74 0d 0d 0d 00 73 20 6e |end doAr|t....s n|
|000055d0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 67 6f |ot empty| then.go|
|000055e0| 20 63 61 72 64 20 74 68 | 65 4e 61 6d 65 0d 70 75 | card th|eName.pu|
|000055f0| 74 20 63 6f 6c 6c 65 63 | 74 43 68 69 6c 64 72 65 |t collec|tChildre|
|00005600| 6e 28 29 20 61 66 74 65 | 72 20 6f 66 66 73 70 72 |n() afte|r offspr|
|00005610| 69 6e 67 0d 65 6c 73 65 | 0d 6e 65 78 74 20 72 65 |ing.else|.next re|
|00005620| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00005630| 72 65 70 65 61 74 0d 67 | 6f 20 63 61 72 64 20 74 |repeat.g|o card t|
|00005640| 68 69 73 43 61 72 64 0d | 70 75 74 20 22 4f 66 66 |hisCard.|put "Off|
|00005650| 73 70 72 69 6e 67 20 74 | 6f 20 67 72 61 6e 64 63 |spring t|o grandc|
|00005660| 68 69 6c 64 72 65 6e 3a | 22 20 26 20 72 65 74 75 |hildren:|" & retu|
|00005670| 72 6e 20 62 65 66 6f 72 | 65 20 6f 66 66 73 70 72 |rn befor|e offspr|
|00005680| 69 6e 67 0d 70 75 74 20 | 6f 66 66 73 70 72 69 6e |ing.put |offsprin|
|00005690| 67 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 61 6e |g into f|ield "an|
|000056a0| 63 65 73 74 6f 72 73 22 | 0d 73 65 74 20 73 63 72 |cestors"|.set scr|
|000056b0| 6f 6c 6c 20 6f 66 20 66 | 69 65 6c 64 20 22 61 6e |oll of f|ield "an|
|000056c0| 63 65 73 74 6f 72 73 22 | 20 74 6f 20 30 0d 73 68 |cestors"| to 0.sh|
|000056d0| 6f 77 20 66 69 65 6c 64 | 20 22 61 6e 63 65 73 74 |ow field| "ancest|
|000056e0| 6f 72 73 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |ors".set| lockMes|
|000056f0| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 65 |sages to| false.e|
|00005700| 6e 64 20 47 43 0d 0d 6f | 6e 20 6f 66 66 53 70 72 |nd GC..o|n offSpr|
|00005710| 69 6e 67 0d 61 73 6b 20 | 22 4e 75 6d 62 65 72 20 |ing.ask |"Number |
|00005720| 6f 66 20 67 65 6e 65 72 | 61 74 69 6f 6e 73 3f 22 |of gener|ations?"|
|00005730| 20 77 69 74 68 20 32 0d | 69 66 20 69 74 20 69 73 | with 2.|if it is|
|00005740| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00005750| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4e |put it i|nto theN|
|00005760| 75 6d 0d 67 65 74 20 66 | 69 65 6c 64 20 22 47 65 |um.get f|ield "Ge|
|00005770| 6e 65 72 61 74 69 6f 6e | 22 0d 70 75 74 20 28 74 |neration|".put (t|
|00005780| 68 65 4e 75 6d 20 2b 20 | 69 74 29 20 69 6e 74 6f |heNum + |it) into|
|00005790| 20 74 61 72 67 65 74 47 | 65 6e 0d 73 65 74 20 6c | targetG|en.set l|
|000057a0| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|000057b0| 72 75 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |rue.set |cursor t|
|000057c0| 6f 20 34 20 2d 2d 20 77 | 61 74 63 68 0d 73 65 74 |o 4 -- w|atch.set|
|000057d0| 20 74 68 65 20 6e 75 6d | 62 65 72 46 6f 72 6d 61 | the num|berForma|
|000057e0| 74 20 74 6f 20 22 30 30 | 2e 22 0d 73 65 74 20 6c |t to "00|.".set l|
|000057f0| 6f 63 6b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ockScree|n to tru|
|00005800| 65 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |e.put th|e number|
|00005810| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 6e | of this| card in|
|00005820| 74 6f 20 74 68 69 73 43 | 61 72 64 0d 70 75 74 20 |to thisC|ard.put |
|00005830| 63 6f 6c 6c 65 63 74 43 | 68 69 6c 64 72 65 6e 28 |collectC|hildren(|
|00005840| 29 20 69 6e 74 6f 20 6f | 66 66 73 70 72 69 6e 67 |) into o|ffspring|
|00005850| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 73 74 65 70 |.put 0 i|nto step|
|00005860| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 66 69 |.repeat |until fi|
|00005870| 65 6c 64 20 22 67 65 6e | 65 72 61 74 69 6f 6e 22 |eld "gen|eration"|
|00005880| 20 3d 20 74 61 72 67 65 | 74 47 65 6e 0d 61 64 64 | = targe|tGen.add|
|00005890| 20 31 20 74 6f 20 73 74 | 65 70 0d 70 75 74 20 70 | 1 to st|ep.put p|
|000058a0| 61 72 73 65 46 72 6f 6d | 43 6f 6c 6f 6e 28 6c 69 |arseFrom|Colon(li|
|000058b0| 6e 65 20 73 74 65 70 20 | 6f 66 20 6f 66 66 73 70 |ne step |of offsp|
|000058c0| 72 69 6e 67 29 20 69 6e | 74 6f 20 74 68 65 4e 61 |ring) in|to theNa|
|000058d0| 6d 65 0d 69 66 20 74 68 | 65 4e 61 6d 65 20 69 73 |me.if th|eName is|
|000058e0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000058f0| 67 6f 20 63 61 72 64 20 | 74 68 65 4e 61 6d 65 0d |go card |theName.|
|00005900| 70 75 74 20 63 6f 6c 6c | 65 63 74 43 68 69 6c 64 |put coll|ectChild|
|00005910| 72 65 6e 28 29 20 61 66 | 74 65 72 20 6f 66 66 73 |ren() af|ter offs|
|00005920| 70 72 69 6e 67 0d 65 6c | 73 65 0d 69 66 20 73 74 |pring.el|se.if st|
|00005930| 65 70 20 3c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ep < the| number |
|00005940| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 6f 66 66 73 |of lines| of offs|
|00005950| 70 72 69 6e 67 20 74 68 | 65 6e 0d 6e 65 78 74 20 |pring th|en.next |
|00005960| 72 65 70 65 61 74 0d 65 | 6c 73 65 0d 65 78 69 74 |repeat.e|lse.exit|
|00005970| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 65 | repeat.|end if.e|
|00005980| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00005990| 0d 67 6f 20 63 61 72 64 | 20 74 68 69 73 43 61 72 |.go card| thisCar|
|000059a0| 64 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |d.put em|pty into|
|000059b0| 20 70 72 65 66 69 78 0d | 72 65 70 65 61 74 20 77 | prefix.|repeat w|
|000059c0| 69 74 68 20 69 20 3d 20 | 28 74 68 65 4e 75 6d 20 |ith i = |(theNum |
|000059d0| 2d 20 31 29 20 64 6f 77 | 6e 20 74 6f 20 31 0d 70 |- 1) dow|n to 1.p|
|000059e0| 75 74 20 22 67 2d 22 20 | 62 65 66 6f 72 65 20 70 |ut "g-" |before p|
|000059f0| 72 65 66 69 78 0d 65 6e | 64 20 72 65 70 65 61 74 |refix.en|d repeat|
|00005a00| 0d 70 75 74 20 22 4f 66 | 66 73 70 72 69 6e 67 20 |.put "Of|fspring |
|00005a10| 74 6f 22 20 26 20 73 70 | 61 63 65 20 26 20 70 72 |to" & sp|ace & pr|
|00005a20| 65 66 69 78 20 26 20 22 | 63 68 69 6c 64 72 65 6e |efix & "|children|
|00005a30| 3a 22 20 69 6e 74 6f 20 | 74 69 74 6c 65 0d 70 75 |:" into |title.pu|
|00005a40| 74 20 74 69 74 6c 65 20 | 26 20 72 65 74 75 72 6e |t title |& return|
|00005a50| 20 62 65 66 6f 72 65 20 | 6f 66 66 73 70 72 69 6e | before |offsprin|
|00005a60| 67 0d 70 75 74 20 6f 66 | 66 73 70 72 69 6e 67 20 |g.put of|fspring |
|00005a70| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |into fie|ld "ance|
|00005a80| 73 74 6f 72 73 22 0d 73 | 65 74 20 73 63 72 6f 6c |stors".s|et scrol|
|00005a90| 6c 20 6f 66 20 66 69 65 | 6c 64 20 22 61 6e 63 65 |l of fie|ld "ance|
|00005aa0| 73 74 6f 72 73 22 20 74 | 6f 20 30 0d 73 68 6f 77 |stors" t|o 0.show|
|00005ab0| 20 66 69 65 6c 64 20 22 | 61 6e 63 65 73 74 6f 72 | field "|ancestor|
|00005ac0| 73 22 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |s".set l|ockMessa|
|00005ad0| 67 65 73 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ges to f|alse.end|
|00005ae0| 20 69 66 0d 65 6e 64 20 | 6f 66 66 53 70 72 69 6e | if.end |offSprin|
|00005af0| 67 0d 0d 6f 6e 20 64 6f | 41 72 74 0d 73 65 74 20 |g..on do|Art.set |
|00005b00| 74 68 65 20 6e 75 6d 62 | 65 72 46 6f 72 6d 61 74 |the numb|erFormat|
|00005b10| 20 74 6f 20 22 30 30 30 | 30 2e 22 0d 72 65 70 65 | to "000|0.".repe|
|00005b20| 61 74 20 77 69 74 68 20 | 69 20 3d 20 37 32 37 20 |at with |i = 727 |
|00005b30| 74 6f 20 37 39 37 0d 67 | 6f 20 63 61 72 64 20 69 |to 797.g|o card i|
|00005b40| 0d 69 66 20 77 6f 72 64 | 20 31 20 6f 66 20 66 69 |.if word| 1 of fi|
|00005b50| 65 6c 64 20 73 6f 75 72 | 63 65 20 63 6f 6e 74 61 |eld sour|ce conta|
|00005b60| 69 6e 73 20 22 41 52 54 | 22 20 74 68 65 6e 0d 67 |ins "ART|" then.g|
|00005b70| 65 74 20 77 6f 72 64 20 | 32 20 6f 66 20 66 69 65 |et word |2 of fie|
|00005b80| 6c 64 20 73 6f 75 72 63 | 65 0d 69 66 20 69 74 20 |ld sourc|e.if it |
|00005b90| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00005ba0| 6e 0d 70 75 74 20 74 68 | 65 20 76 61 6c 75 65 20 |n.put th|e value |
|00005bb0| 6f 66 20 69 74 20 69 6e | 74 6f 20 77 6f 72 64 20 |of it in|to word |
|00005bc0| 32 20 6f 66 20 66 69 65 | 6c 64 20 73 6f 75 72 63 |2 of fie|ld sourc|
|00005bd0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00005be0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 64 |end repe|at.end d|
|00005bf0| 6f 41 72 74 0d 0d 0d 00 | 20 74 6f 20 30 0d 73 68 |oArt....| to 0.sh|
|00005c00| 6f 77 20 66 69 65 6c 64 | 20 22 61 6e 63 65 73 74 |ow field| "ancest|
|00005c10| 6f 72 73 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |ors".set| lockMes|
|00005c20| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 65 |sages to| false.e|
|00005c30| 6e 64 20 69 66 0d 65 6e | 64 20 6f 66 66 53 70 72 |nd if.en|d offSpr|
|00005c40| 69 6e 67 0d 0d 6f 6e 20 | 64 6f 41 72 74 0d 73 65 |ing..on |doArt.se|
|00005c50| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 46 6f 72 6d |t the nu|mberForm|
|00005c60| 61 74 20 74 6f 20 22 30 | 30 30 30 2e 22 0d 72 65 |at to "0|000.".re|
|00005c70| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 37 32 |peat wit|h i = 72|
|00005c80| 37 20 74 6f 20 37 39 37 | 0d 67 6f 20 63 61 72 64 |7 to 797|.go card|
|00005c90| 20 69 0d 69 66 20 77 6f | 72 64 20 31 20 6f 66 20 | i.if wo|rd 1 of |
|00005ca0| 66 69 65 6c 64 20 73 6f | 75 72 63 65 20 63 6f 6e |field so|urce con|
|00005cb0| 74 61 69 6e 73 20 22 41 | 52 54 22 20 74 68 65 6e |tains "A|RT" then|
|00005cc0| 0d 67 65 74 20 77 6f 72 | 64 20 32 20 6f 66 20 66 |.get wor|d 2 of f|
|00005cd0| 69 65 6c 64 20 73 6f 75 | 72 63 65 0d 69 66 20 69 |ield sou|rce.if i|
|00005ce0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00005cf0| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 76 61 6c 75 |hen.put |the valu|
|00005d00| 65 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 77 6f 72 |e of it |into wor|
|00005d10| 64 20 32 20 6f 66 20 66 | 69 65 6c 64 20 73 6f 75 |d 2 of f|ield sou|
|00005d20| 72 63 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |rce.end |if.end i|
|00005d30| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |f.end re|peat.end|
|00005d40| 20 64 6f 41 72 74 0d 0d | 0d 00 00 00 00 00 00 00 | doArt..|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 09 2d c3 00 00 00 00 | 00 03 44 73 00 06 44 69 |..-.....|..Ds..Di|
|00005eb0| 00 00 00 00 00 09 93 ee | 00 09 4d 4f 00 09 55 40 |........|..MO..U@|
|00005ec0| 00 06 37 d2 00 09 74 35 | 00 08 92 cb 00 08 b1 38 |..7...t5|.......8|
|00005ed0| 00 08 d0 43 00 08 ef b6 | 00 03 00 25 00 09 0e 12 |...C....|...%....|
|00005ee0| 00 08 8d 2e 00 08 6f ee | 00 08 51 c8 00 08 2e 96 |......o.|..Q.....|
|00005ef0| 00 08 33 d9 00 03 04 37 | 00 00 00 00 00 00 00 00 |..3....7|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006080| 00 00 00 80 4c 49 53 54 | 00 00 16 25 00 00 00 01 |....LIST|...%....|
|00006090| 00 00 08 00 00 00 00 0f | 00 18 00 01 00 05 00 04 |........|........|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 1d 37 00 0f 00 00 | 00 00 00 00 00 00 00 00 |...7....|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 00 08 00 50 41 47 45 | 00 00 1d 37 00 00 16 25 |....PAGE|...7...%|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 0b 69 80 7f ff ff |........|...i....|
|00006120| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00006130| 00 00 1b 96 80 00 30 00 | 21 00 60 04 20 00 10 08 |......0.|!.`. ...|
|00006140| 00 04 02 00 40 01 00 c0 | 00 00 1c d9 80 29 3e 26 |....@...|.....)>&|
|00006150| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006160| 00 00 1a c8 80 29 3e 26 | a1 00 78 44 24 00 14 89 |.....)>&|..xD$...|
|00006170| 80 14 02 00 40 03 00 c0 | 00 00 19 ee 80 29 3e 26 |....@...|.....)>&|
|00006180| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006190| 00 00 18 2e 80 00 00 02 | 21 00 08 04 20 00 10 08 |........|!... ...|
|000061a0| 80 14 02 00 40 01 00 c0 | 00 00 12 cb 80 29 3e 26 |....@...|.....)>&|
|000061b0| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|000061c0| 00 00 13 38 80 29 3e 26 | a1 00 78 44 24 00 14 89 |...8.)>&|..xD$...|
|000061d0| 80 14 02 00 40 03 00 c0 | 00 00 14 43 80 29 3e 26 |....@...|...C.)>&|
|000061e0| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|000061f0| 00 00 15 b6 80 29 3e 26 | a1 00 78 44 24 00 14 89 |.....)>&|..xD$...|
|00006200| 80 14 02 00 40 03 00 c0 | 00 00 17 12 80 29 3e 26 |....@...|.....)>&|
|00006210| a1 00 78 44 24 00 14 89 | 80 14 02 00 40 03 00 c0 |..xD$...|....@...|
|00006220| 00 00 08 c3 80 29 3e 26 | a1 80 78 44 24 80 15 89 |.....)>&|..xD$...|
|00006230| 80 14 06 00 44 23 00 e0 | 00 00 0e 4f 80 28 36 24 |....D#..|...O.(6$|
|00006240| 21 80 78 44 24 80 15 89 | 00 04 06 00 44 23 00 e0 |!.xD$...|....D#..|
|00006250| 00 00 0f 40 80 29 3e 26 | a1 80 78 44 24 80 15 89 |...@.)>&|..xD$...|
|00006260| 80 14 06 00 44 23 00 e0 | 00 00 11 35 80 29 3e 26 |....D#..|...5.)>&|
|00006270| a1 80 78 44 24 80 15 89 | 80 14 06 00 44 23 00 e0 |..xD$...|....D#..|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.